forked from php/php-src
/
filter_private.h
87 lines (70 loc) · 3.03 KB
/
filter_private.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2006 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Authors: Derick Rethans <derick@php.net> |
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef FILTER_PRIVATE_H
#define FILTER_PRIVATE_H
#define FILTER_FLAG_NONE 0x0000
#define FILTER_FLAG_ALLOW_OCTAL 0x0001
#define FILTER_FLAG_ALLOW_HEX 0x0002
#define FILTER_FLAG_STRIP_LOW 0x0004
#define FILTER_FLAG_STRIP_HIGH 0x0008
#define FILTER_FLAG_ENCODE_LOW 0x0010
#define FILTER_FLAG_ENCODE_HIGH 0x0020
#define FILTER_FLAG_ENCODE_AMP 0x0040
#define FILTER_FLAG_NO_ENCODE_QUOTES 0x0080
#define FILTER_FLAG_EMPTY_STRING_NULL 0x0100
#define FILTER_FLAG_ALLOW_FRACTION 0x1000
#define FILTER_FLAG_ALLOW_THOUSAND 0x2000
#define FILTER_FLAG_ALLOW_SCIENTIFIC 0x4000
#define FILTER_FLAG_SCHEME_REQUIRED 0x010000
#define FILTER_FLAG_HOST_REQUIRED 0x020000
#define FILTER_FLAG_PATH_REQUIRED 0x040000
#define FILTER_FLAG_QUERY_REQUIRED 0x080000
#define FILTER_FLAG_IPV4 0x100000
#define FILTER_FLAG_IPV6 0x200000
#define FILTER_FLAG_NO_RES_RANGE 0x400000
#define FILTER_FLAG_NO_PRIV_RANGE 0x800000
#define FL_INT 0x0101
#define FL_BOOLEAN 0x0102
#define FL_FLOAT 0x0103
#define FL_REGEXP 0x0110
#define FL_URL 0x0111
#define FL_EMAIL 0x0112
#define FL_IP 0x0113
#define FL_ALL 0x0100
#define FS_DEFAULT 0x0201
#define FS_STRING 0x0201
#define FS_ENCODED 0x0202
#define FS_SPECIAL_CHARS 0x0203
#define FS_UNSAFE_RAW 0x0204
#define FS_EMAIL 0x0205
#define FS_URL 0x0206
#define FS_NUMBER_INT 0x0207
#define FS_NUMBER_FLOAT 0x0208
#define FS_MAGIC_QUOTES 0x0209
#define FS_ALL 0x0200
#define FC_CALLBACK 0x0400
#endif /* FILTER_PRIVATE_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
*/