diff options
Diffstat (limited to 'common/http.h')
-rw-r--r-- | common/http.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/common/http.h b/common/http.h new file mode 100644 index 0000000..ed63c9f --- /dev/null +++ b/common/http.h @@ -0,0 +1,10 @@ +#ifndef COMMON_HTTP_H_ +#define COMMON_HTTP_H_ + +void http_add_header(const char* name, const char* value); +void http_clean(void); +const char * http_get(const char* path); +void http_init(void); +const char * http_post(const char* path, const char* postfields); + +#endif |