You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
695 B

16 years ago
16 years ago
#define SCAN_PATH 0
// string pointer to source, pointer to after terminator on return
// deststring pointer to destination
// flags determines, what to parse
// returns number of valid converted characters in deststring
// or -1 for parse error
size_t scan_urlencoded_query(char **string, char *deststring, int flags);
// data pointer to len chars of string
// len length of chars in data to parse
// number number to receive result
size_t scan_fixed_int( char *data, size_t len, int *number );