annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
1 #ifndef gpost_h
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
2 #define gpost_h
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
3
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
4 #include "emboss.h"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
5 #include "curl/curl.h"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
6 #include "curl/easy.h"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
7
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
8 typedef struct{
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
9 char* memory;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
10 size_t size;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
11 } Memory;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
12
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
13 /*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
14 ** Prototype definitions
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
15 */
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
16
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
17 AjBool gFilePostCC(char* url, char* filename, AjPStr* string);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
18 AjBool gFilePostCS(char* url, AjPStr filename, AjPStr* string);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
19 AjBool gFilePostSS(AjPStr url, AjPStr filename, AjPStr* string);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
20 size_t curl_write(void *ptr, size_t size, size_t nmemb, void *stream);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
21
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
22 #endif