aboutsummaryrefslogtreecommitdiff
path: root/src/Content.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Content.h')
-rw-r--r--src/Content.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/Content.h b/src/Content.h
new file mode 100644
index 0000000..d979ef7
--- /dev/null
+++ b/src/Content.h
@@ -0,0 +1,48 @@
+ /*@@
+ @header Content.h
+ @date Sun Sep 17 14:19:23 2000
+ @author Tom Goodale
+ @desc
+ Routines exported by the Content stuff. Was httpd_Content.h; still
+ exported by that name.
+ @enddesc
+ @version $Header$
+ @@*/
+
+#ifndef __HTTP_CONTENT_H__
+#define __HTTP_CONTENT_H__ 1
+
+#define HTTP_QUICKLINK 1
+
+#include "SString.h"
+#include "httpRequest.h"
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+int HTTP_ContentLink(const char *URL,
+ const char *name,
+ const char *description,
+ int flags);
+
+int HTTP_ContentSendFromFile(httpRequest *request, int filedes);
+
+int HTTP_ContentHeader(const cGH *cctkGH, int choice, int len, char *mess,
+ const char *menu);
+int HTTP_ContentFooter(const cGH *cctkGH, int choice, int len, char *mess);
+
+int HTTP_SetContentHeaderString(const cGH *cctkGH, int choice, String *mess,
+ const String *menu);
+int HTTP_SetContentFooterString(const cGH *cctkGH, int choice, String *mess);
+
+void HTTP_SetHeadInfo( String *header);
+
+void HTTP_SetDoctype( String *header);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __HTTP_CONENT_H__ */