diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/GEMBASSY-1.0.3/include/gpost.h	Fri Jun 26 05:19:29 2015 -0400
@@ -0,0 +1,22 @@
+#ifndef gpost_h
+#define gpost_h
+
+#include "emboss.h"
+#include "curl/curl.h"
+#include "curl/easy.h"
+
+typedef struct{
+  char* memory;
+  size_t size;
+} Memory;
+
+/*
+** Prototype definitions
+*/
+
+AjBool gFilePostCC(char* url, char* filename, AjPStr* string);
+AjBool gFilePostCS(char* url, AjPStr filename, AjPStr* string);
+AjBool gFilePostSS(AjPStr url, AjPStr filename, AjPStr* string);
+size_t curl_write(void *ptr, size_t size, size_t nmemb, void *stream);
+
+#endif