diff options
Diffstat (limited to 'src/HTTPDUtils.h')
-rw-r--r-- | src/HTTPDUtils.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/HTTPDUtils.h b/src/HTTPDUtils.h new file mode 100644 index 0000000..b3d9509 --- /dev/null +++ b/src/HTTPDUtils.h @@ -0,0 +1,36 @@ + /*@@ + @header HTTPDUtils.h + @date April 7 2004 + @author Steve White + @desc + Routines exported by HTTPD to other thorns. + @enddesc + @version $Header$ + @@*/ + +#ifndef __HTTP_UTILS_H__ +#define __HTTP_UTILS_H__ 1 + +#define HTTP_QUICKLINK 1 + +#include "http_Request.h" +#include "http_SString.h" +#include "http_Content.h" +#include "SString_Namespace.h" + +#ifdef __cplusplus +extern "C" +{ +#endif + +int SetHTML_ContentHeader(const cGH *cctkGH, int choice, String *mess, + const String *menu); +int SetHTML_ContentFooter(const cGH *cctkGH, int choice, String *mess); + +void SendHTTP_OK_Header(httpRequest *request); + +#ifdef __cplusplus +} +#endif + +#endif |