10#ifndef __UTILS_CURL_H__
11#define __UTILS_CURL_H__
61 ...) G_GNUC_NULL_TERMINATED;
64z_curl_get_page_contents_finish (GAsyncResult * res, GError ** error);
67z_curl_get_page_contents_async (
70 GAsyncReadyCallback callback,
71 gpointer callback_data);
char * z_curl_get_page_contents_default(const char *url)
Returns the contents of the page in a newly allocated string.
char * z_curl_get_page_contents(const char *url, int timeout, GError **error)
Returns the contents of the page in a newly allocated string.
int z_curl_post_json_no_auth(const char *url, const char *data, int timeout, GError **error,...) G_GNUC_NULL_TERMINATED
Posts the given JSON to the URL without any authentication.