view 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 source

#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