diff options
Diffstat (limited to 'scan_urlencoded_query.h')
| -rw-r--r-- | scan_urlencoded_query.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/scan_urlencoded_query.h b/scan_urlencoded_query.h index a0b77af..92e3f34 100644 --- a/scan_urlencoded_query.h +++ b/scan_urlencoded_query.h | |||
| @@ -46,17 +46,10 @@ int scan_find_keywords( const ot_keywords * keywords, char **string, SCAN_SEARCH | |||
| 46 | void scan_urlencoded_skipvalue( char **string ); | 46 | void scan_urlencoded_skipvalue( char **string ); |
| 47 | 47 | ||
| 48 | /* data pointer to len chars of string | 48 | /* data pointer to len chars of string |
| 49 | len length of chars in data to parse | 49 | len length of chars in data to parse |
| 50 | number number to receive result | 50 | number number to receive result |
| 51 | returns number of bytes not parsed, mostly !=0 means fail | 51 | returns number of bytes not parsed, mostly !=0 means fail |
| 52 | */ | 52 | */ |
| 53 | ssize_t scan_fixed_int( char *data, size_t len, int *number ); | 53 | ssize_t scan_fixed_int( char *data, size_t len, int *number ); |
| 54 | 54 | ||
| 55 | /* data pointer to len chars of string | ||
| 56 | len length of chars in data to parse | ||
| 57 | ip buffer to receive result | ||
| 58 | returns number of bytes not parsed, mostly !=0 means fail | ||
| 59 | */ | ||
| 60 | ssize_t scan_fixed_ip( char *data, size_t len, unsigned char ip[4] ); | ||
| 61 | |||
| 62 | #endif | 55 | #endif |
