comparison GEMBASSY-1.0.3/include/gpost.h @ 2:8947fca5f715 draft default tip

Uploaded
author ktnyt
date Fri, 26 Jun 2015 05:21:44 -0400
parents 84a17b3fad1f
children
comparison
equal deleted inserted replaced
1:84a17b3fad1f 2:8947fca5f715
1 #ifndef gpost_h
2 #define gpost_h
3
4 #include "emboss.h"
5 #include "curl/curl.h"
6 #include "curl/easy.h"
7
8 typedef struct{
9 char* memory;
10 size_t size;
11 } Memory;
12
13 /*
14 ** Prototype definitions
15 */
16
17 AjBool gFilePostCC(char* url, char* filename, AjPStr* string);
18 AjBool gFilePostCS(char* url, AjPStr filename, AjPStr* string);
19 AjBool gFilePostSS(AjPStr url, AjPStr filename, AjPStr* string);
20 size_t curl_write(void *ptr, size_t size, size_t nmemb, void *stream);
21
22 #endif