[xiph-cvs] cvs commit: httpp httpp.c httpp.h
Brendan
brendan at xiph.org
Sun Jul 6 18:49:28 PDT 2003
brendan 03/07/06 21:49:28
Modified: . httpp.c httpp.h
Log:
httpp goes through the rinse cycle
Revision Changes Path
1.23 +4 -4 httpp/httpp.c
Index: httpp.c
===================================================================
RCS file: /usr/local/cvsroot/httpp/httpp.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -p -u -r1.22 -r1.23
--- httpp.c 18 Jun 2003 15:52:25 -0000 1.22
+++ httpp.c 7 Jul 2003 01:49:27 -0000 1.23
@@ -31,8 +31,8 @@
static char *_lowercase(char *str);
/* for avl trees */
-int _compare_vars(void *compare_arg, void *a, void *b);
-int _free_vars(void *key);
+static int _compare_vars(void *compare_arg, void *a, void *b);
+static int _free_vars(void *key);
http_parser_t *httpp_create_parser(void)
{
@@ -553,7 +553,7 @@ static char *_lowercase(char *str)
return str;
}
-int _compare_vars(void *compare_arg, void *a, void *b)
+static int _compare_vars(void *compare_arg, void *a, void *b)
{
http_var_t *vara, *varb;
@@ -563,7 +563,7 @@ int _compare_vars(void *compare_arg, voi
return strcmp(vara->name, varb->name);
}
-int _free_vars(void *key)
+static int _free_vars(void *key)
{
http_var_t *var;
<p><p>1.10 +14 -0 httpp/httpp.h
Index: httpp.h
===================================================================
RCS file: /usr/local/cvsroot/httpp/httpp.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -u -r1.9 -r1.10
--- httpp.h 15 Mar 2003 02:10:18 -0000 1.9
+++ httpp.h 7 Jul 2003 01:49:27 -0000 1.10
@@ -38,6 +38,20 @@ typedef struct http_parser_tag {
avl_tree *queryvars;
} http_parser_t;
+#ifdef _mangle
+# define httpp_create_parser _mangle(httpp_create_parser)
+# define httpp_initialize _mangle(httpp_initialize)
+# define httpp_parse _mangle(httpp_parse)
+# define httpp_parse_icy _mangle(httpp_parse_icy)
+# define httpp_parse_response _mangle(httpp_parse_response)
+# define httpp_setvar _mangle(httpp_setvar)
+# define httpp_getvar _mangle(httpp_getvar)
+# define httpp_set_query_param _mangle(httpp_set_query_param)
+# define httpp_get_query_param _mangle(httpp_get_query_param)
+# define httpp_destroy _mangle(httpp_destroy)
+# define httpp_clear _mangle(httpp_clear)
+#endif
+
http_parser_t *httpp_create_parser(void);
void httpp_initialize(http_parser_t *parser, http_varlist_t *defaults);
int httpp_parse(http_parser_t *parser, char *http_data, unsigned long len);
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list