50 #define APREQ_DECLARE(d) APR_DECLARE(d)
60 #define APREQ_DECLARE_NONSTD(d) APR_DECLARE_NONSTD(d)
71 #define APREQ_DECLARE_DATA
72 #elif defined (APREQ_DECLARE_STATIC)
73 #define APREQ_DECLARE(type) type __stdcall
74 #define APREQ_DECLARE_NONSTD(type) type
75 #define APREQ_DECLARE_DATA
76 #elif defined (APREQ_DECLARE_EXPORT)
77 #define APREQ_DECLARE(type) __declspec(dllexport) type __stdcall
78 #define APREQ_DECLARE_NONSTD(type) __declspec(dllexport) type
79 #define APREQ_DECLARE_DATA __declspec(dllexport)
81 #define APREQ_DECLARE(type) __declspec(dllimport) type __stdcall
82 #define APREQ_DECLARE_NONSTD(type) __declspec(dllimport) type
83 #define APREQ_DECLARE_DATA __declspec(dllimport)
90 #define APREQ_DEFAULT_READ_BLOCK_SIZE (64 * 1024)
98 #define APREQ_DEFAULT_READ_LIMIT (64 * 1024 * 1024)
105 #define APREQ_DEFAULT_BRIGADE_LIMIT (256 * 1024)
111 #define APREQ_DEFAULT_NELTS 8
118 #define APREQ_FLAGS_OFF(f, name) ((f) &= ~(name##_MASK << name##_BIT))
122 #define APREQ_FLAGS_ON(f, name) ((f) |= (name##_MASK << name##_BIT))
126 #define APREQ_FLAGS_GET(f, name) (((f) >> name##_BIT) & name##_MASK)
133 #define APREQ_FLAGS_SET(f, name, value) \
134 ((f) = (((f) & ~(name##_MASK << name##_BIT)) \
135 | ((name##_MASK & (value)) << name##_BIT)))
142 #define APREQ_CHARSET_BIT 0
149 #define APREQ_CHARSET_MASK 255
156 #define APREQ_TAINTED_BIT 8
162 #define APREQ_TAINTED_MASK 1
170 #define APREQ_COOKIE_VERSION_BIT 11
176 #define APREQ_COOKIE_VERSION_MASK 3
183 #define APREQ_COOKIE_SECURE_BIT 13
189 #define APREQ_COOKIE_SECURE_MASK 1
196 #define APREQ_COOKIE_HTTPONLY_BIT 14
202 #define APREQ_COOKIE_HTTPONLY_MASK 1
206 APREQ_CHARSET_ASCII =0,
207 APREQ_CHARSET_LATIN1 =1,
208 APREQ_CHARSET_CP1252 =2,
209 APREQ_CHARSET_UTF8 =8
265 #define apreq_attr_to_type(T,A,P) ( (T*) ((char*)(P)-offsetof(T,A)) )
#define APREQ_DECLARE(d)
Definition: apreq.h:50
static APR_INLINE void apreq_value_table_add(const apreq_value_t *v, apr_table_t *t)
Definition: apreq.h:254
apr_status_t apreq_initialize(apr_pool_t *pool)
apreq_match_t
Definition: apreq.h:222
@ APREQ_MATCH_PARTIAL
Definition: apreq.h:224
@ APREQ_MATCH_FULL
Definition: apreq.h:223
apreq_charset_t
Definition: apreq.h:205
apreq_join_t
Definition: apreq.h:214
@ APREQ_JOIN_ENCODE
Definition: apreq.h:216
@ APREQ_JOIN_AS_IS
Definition: apreq.h:215
@ APREQ_JOIN_DECODE
Definition: apreq.h:217
@ APREQ_JOIN_QUOTE
Definition: apreq.h:218
apr_status_t apreq_post_initialize(apr_pool_t *pool)
struct apreq_value_t apreq_value_t
libapreq's pre-extensible string type
apreq_expires_t
Definition: apreq.h:228
@ APREQ_EXPIRES_NSCOOKIE
Definition: apreq.h:230
@ APREQ_EXPIRES_HTTP
Definition: apreq.h:229
apr_status_t apreq_pre_initialize(apr_pool_t *pool)
struct apr_pool_t apr_pool_t
struct apr_table_t apr_table_t
void apr_table_addn(apr_table_t *t, const char *key, const char *val)
libapreq's pre-extensible string type
Definition: apreq.h:235
char * name
Definition: apreq.h:236
char data[1]
Definition: apreq.h:239
apr_size_t dlen
Definition: apreq.h:238
apr_size_t nlen
Definition: apreq.h:237