summaryrefslogtreecommitdiff
path: root/scan_urlencoded_query.h
diff options
context:
space:
mode:
authorerdgeist <>2006-12-09 12:50:42 +0000
committererdgeist <>2006-12-09 12:50:42 +0000
commit0de82a8925e38e39f01a732ee22b27607b820d0b (patch)
tree4c0d6b437f486ab319a2d6aec32e1d3c8aca502b /scan_urlencoded_query.h
parent932242eee7d99559bf8e0b4cec2b140f567a8149 (diff)
Fixed parser
Diffstat (limited to 'scan_urlencoded_query.h')
-rw-r--r--scan_urlencoded_query.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/scan_urlencoded_query.h b/scan_urlencoded_query.h
index 03ed730..1e59745 100644
--- a/scan_urlencoded_query.h
+++ b/scan_urlencoded_query.h
@@ -1,14 +1,9 @@
1#ifndef __SCAN_URLENCODED_QUERY_H__ 1#ifndef __SCAN_URLENCODED_QUERY_H__
2#define __SCAN_URLENCODED_QUERY_H__ 2#define __SCAN_URLENCODED_QUERY_H__
3 3
4#define BREAK_AT_QUESTIONMARK (1<<0) 4#define SCAN_PATH 0
5#define BREAK_AT_WHITESPACE (1<<1) 5#define SCAN_SEARCHPATH_PARAM 1
6#define BREAK_AT_AMPERSAND (1<<2) 6#define SCAN_SEARCHPATH_VALUE 2
7#define BREAK_AT_EQUALSIGN (1<<3)
8
9#define SCAN_PATH ( BREAK_AT_QUESTIONMARK | BREAK_AT_WHITESPACE )
10#define SCAN_SEARCHPATH_PARAM ( BREAK_AT_EQUALSIGN )
11#define SCAN_SEARCHPATH_VALUE ( BREAK_AT_AMPERSAND | BREAK_AT_WHITESPACE )
12 7
13// string pointer to source, pointer to after terminator on return 8// string pointer to source, pointer to after terminator on return
14// deststring pointer to destination 9// deststring pointer to destination