2006-12-09 12:50:42 +00:00
|
|
|
#ifndef __SCAN_URLENCODED_QUERY_H__
|
2006-12-08 19:20:51 +00:00
|
|
|
#define __SCAN_URLENCODED_QUERY_H__
|
|
|
|
|
2006-12-09 12:50:42 +00:00
|
|
|
#define SCAN_PATH 0
|
|
|
|
#define SCAN_SEARCHPATH_PARAM 1
|
|
|
|
#define SCAN_SEARCHPATH_VALUE 2
|
2006-12-08 19:20:51 +00:00
|
|
|
|
|
|
|
// 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);
|
|
|
|
|
|
|
|
#endif
|