10#ifndef __UTILS_CURL_H__
11#define __UTILS_CURL_H__
13#include "gtk_wrapper.h"
59 ...) G_GNUC_NULL_TERMINATED;
62z_curl_get_page_contents_finish (GAsyncResult * res, GError ** error);
65z_curl_get_page_contents_async (
68 GAsyncReadyCallback callback,
69 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.