summaryrefslogtreecommitdiff
path: root/scan_urlencoded_query.h
diff options
context:
space:
mode:
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