summaryrefslogtreecommitdiff
path: root/scan_urlencoded_query.h
diff options
context:
space:
mode:
authorerdgeist <>2007-12-17 13:23:27 +0000
committererdgeist <>2007-12-17 13:23:27 +0000
commit0cfd1e575dae3a5705203b6b06b8a534a12ee652 (patch)
treead9c95204430bf86504725905dc794c2c0bf5763 /scan_urlencoded_query.h
parentac078bccf2bec2220233bb7ff40560da2131c10d (diff)
Add documentation to our uri scanner
Diffstat (limited to 'scan_urlencoded_query.h')
-rw-r--r--scan_urlencoded_query.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/scan_urlencoded_query.h b/scan_urlencoded_query.h
index 4fa35c4..f0ad781 100644
--- a/scan_urlencoded_query.h
+++ b/scan_urlencoded_query.h
@@ -11,7 +11,8 @@ typedef enum {
11 SCAN_SEARCHPATH_TERMINATOR = 8 11 SCAN_SEARCHPATH_TERMINATOR = 8
12} SCAN_SEARCHPATH_FLAG; 12} SCAN_SEARCHPATH_FLAG;
13 13
14/* string pointer to source, pointer to next scan position on return 14/* string in: pointer to source
15 out: pointer to next scan position
15 deststring pointer to destination 16 deststring pointer to destination
16 flags determines, what to parse 17 flags determines, what to parse
17 returns number of valid converted characters in deststring 18 returns number of valid converted characters in deststring
@@ -19,7 +20,8 @@ typedef enum {
19*/ 20*/
20ssize_t scan_urlencoded_query(char **string, char *deststring, SCAN_SEARCHPATH_FLAG flags); 21ssize_t scan_urlencoded_query(char **string, char *deststring, SCAN_SEARCHPATH_FLAG flags);
21 22
22/* string pointer to source, pointer to next scan position on return 23/* string in: pointer to value of a param=value pair to skip
24 out: pointer to next scan position on return
23*/ 25*/
24void scan_urlencoded_skipvalue( char **string ); 26void scan_urlencoded_skipvalue( char **string );
25 27