comparison GEMBASSY-1.0.3/include/gpost.h @ 0:8300eb051bea draft

Initial upload
author ktnyt
date Fri, 26 Jun 2015 05:19:29 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:8300eb051bea
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