diff options
author | erdgeist <> | 2007-01-31 09:50:46 +0000 |
---|---|---|
committer | erdgeist <> | 2007-01-31 09:50:46 +0000 |
commit | 6e1ee92de6ff1f9b29453c8ae1d2d831db6a3e1a (patch) | |
tree | 436324cb02e2c08b1bb4c176462823a81d239dd6 /scan_urlencoded_query.h | |
parent | 11abb03e85d6580699c4760e0267a972f78e6c03 (diff) |
Use signed size_t wherever appropriate
Diffstat (limited to 'scan_urlencoded_query.h')
-rw-r--r-- | scan_urlencoded_query.h | 6 |
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 | */ |
17 | size_t scan_urlencoded_query(char **string, char *deststring, int flags); | 17 | ssize_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 | */ |
24 | size_t scan_fixed_int( char *data, size_t len, int *number ); | 24 | ssize_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 | */ |
31 | size_t scan_fixed_ip( char *data, size_t len, unsigned char ip[4] ); | 31 | ssize_t scan_fixed_ip( char *data, size_t len, unsigned char ip[4] ); |
32 | 32 | ||
33 | #endif | 33 | #endif |