1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#include <stdlib.h>
#include <gtk/gtk.h>
#include <curl/curl.h>
#include <curl/easy.h>
int
sql_execute(const char *db_name, const char *sql, int (*cb_func)(void*,int,char**,char**));
typedef struct {
char *name;
char *value;
} postdata_item_t;
typedef struct {
long int status_code;
size_t size;
char *data ;
} postreply_t;
typedef struct {
char *memory;
size_t size;
} mem_struct_t;
postreply_t*
mycurl__do_http_post (char *url, GSList *post_data_list, char *useragent);
postreply_t*
mycurl__do_http_post_XML (char *url, char *xmlString, char *useragent);
postreply_t*
mycurl__do_http_get (char *url, char *useragent);
|