aboutsummaryrefslogtreecommitdiff
path: root/src/SStringHTML.h
diff options
context:
space:
mode:
authorswhite <swhite@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2004-04-13 13:42:54 +0000
committerswhite <swhite@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2004-04-13 13:42:54 +0000
commit310f5363afe8ed31b6381ff002991d5c7cfa6d96 (patch)
tree8915b41c6318d49e0577f63e4cce0cad2cdcdaad /src/SStringHTML.h
parent373f2b276ec87294bb96e5b148972303308f7763 (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/SStringHTML.h')
-rw-r--r--src/SStringHTML.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/SStringHTML.h b/src/SStringHTML.h
index 6fb220c..82c1687 100644
--- a/src/SStringHTML.h
+++ b/src/SStringHTML.h
@@ -25,6 +25,11 @@ String * StringSGMLEntity( SGMLEntityNum n );
*
* If move to bigger characters will have to encode more.
* */
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
String * StringSetToEncodedURLCString( String * str, const char *c );
String * StringEncodeURL( String * str );
@@ -33,5 +38,8 @@ String * StringEncodeURL( String * str );
String * StringSetToEncodedHTMLCString( String * str, const char *c );
String * StringEncodeHTML( String * str );
+#ifdef __cplusplus
+}
+#endif
#endif