diff GEMBASSY-1.0.3/include/ghttp.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/ghttp.h	Fri Jun 26 05:19:29 2015 -0400
@@ -0,0 +1,18 @@
+#ifndef ghttp_h
+#define ghttp_h
+
+#include "emboss.h"
+
+/*
+** Prototype definitions
+*/
+
+AjBool gHttpConvertS(AjPStr url, AjPFile* outf, AjPStr informat, AjPStr outformat);
+AjBool gHttpConvertC(char* res, AjPFile* outf, AjPStr informat, AjPStr outformat);
+AjBool gHttpGetBinS(AjPStr url, AjPFile* outf);
+AjBool gHttpGetBinC(char* url, AjPFile* outf);
+AjPFilebuff gHttpPostFileSS(AjPStr url, AjPStr filename);
+AjPFilebuff gHttpPostFileCS(char* url, AjPStr filename);
+AjBool gHttpRedirect(AjPFile file, AjPStr* host, ajint* port, AjPStr* path);
+
+#endif