diff options
author | swhite <swhite@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2004-04-13 13:42:54 +0000 |
---|---|---|
committer | swhite <swhite@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2004-04-13 13:42:54 +0000 |
commit | 310f5363afe8ed31b6381ff002991d5c7cfa6d96 (patch) | |
tree | 8915b41c6318d49e0577f63e4cce0cad2cdcdaad /src/http_Content.h | |
parent | 373f2b276ec87294bb96e5b148972303308f7763 (diff) |
Made HTTPD to correctly describe interface by INCLUDE HEADER mechanism.
Changed internal names of
http_Auth.h
http_Cookies.h
http_Steer.h
http_Content.h
so that HTTPD thorn developers will be required to use this interface,
rather than incorrectly explicitly including the source header files.
* Protected SString against C++ name mangling
* Gave exported functions the HTTP_ prefix
* Wrote doc/Content.h
* Fixed bug that disabled some steering functionality
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@192 1faa4e14-9dd3-4be0-9f0e-ffe519881164
Diffstat (limited to 'src/http_Content.h')
-rw-r--r-- | src/http_Content.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/http_Content.h b/src/http_Content.h deleted file mode 100644 index 307da99..0000000 --- a/src/http_Content.h +++ /dev/null @@ -1,43 +0,0 @@ - /*@@ - @header http_Content.h - @date Sun Sep 17 14:19:23 2000 - @author Tom Goodale - @desc - Routines exported by the Content stuff. - @enddesc - @version $Header$ - @@*/ - -#ifndef __HTTP_CONTENT_H__ -#define __HTTP_CONTENT_H__ 1 - -#define HTTP_QUICKLINK 1 - -#include "SString.h" - -#define EMPTYSTRING {'\0'} - -#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 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 /* __HTTP_CONENT_H__ */ |