summaryrefslogtreecommitdiff
path: root/scan_urlencoded_query.h
diff options
context:
space:
mode:
Diffstat (limited to 'scan_urlencoded_query.h')
-rw-r--r--scan_urlencoded_query.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/scan_urlencoded_query.h b/scan_urlencoded_query.h
index e20cbef..56d93c8 100644
--- a/scan_urlencoded_query.h
+++ b/scan_urlencoded_query.h
@@ -14,20 +14,20 @@
14 returns number of valid converted characters in deststring 14 returns number of valid converted characters in deststring
15 or -1 for parse error 15 or -1 for parse error
16*/ 16*/
17size_t scan_urlencoded_query(char **string, char *deststring, int flags); 17ssize_t scan_urlencoded_query(char **string, char *deststring, int flags);
18 18
19/* data pointer to len chars of string 19/* data pointer to len chars of string
20 len length of chars in data to parse 20 len length of chars in data to parse
21 number number to receive result 21 number number to receive result
22 returns number of bytes not parsed, mostly !=0 means fail 22 returns number of bytes not parsed, mostly !=0 means fail
23*/ 23*/
24size_t scan_fixed_int( char *data, size_t len, int *number ); 24ssize_t scan_fixed_int( char *data, size_t len, int *number );
25 25
26/* data pointer to len chars of string 26/* data pointer to len chars of string
27 len length of chars in data to parse 27 len length of chars in data to parse
28 ip buffer to receive result 28 ip buffer to receive result
29 returns number of bytes not parsed, mostly !=0 means fail 29 returns number of bytes not parsed, mostly !=0 means fail
30*/ 30*/
31size_t scan_fixed_ip( char *data, size_t len, unsigned char ip[4] ); 31ssize_t scan_fixed_ip( char *data, size_t len, unsigned char ip[4] );
32 32
33#endif 33#endif