18 #ifndef APREQ_COOKIE_H
19 #define APREQ_COOKIE_H
48 #define APREQ_COOKIE_MAX_LENGTH 4096
71 union {
const char *in;
char *out; } deconst;
229 const char *time_str);
#define APREQ_FLAGS_GET(f, name)
Definition: apreq.h:81
#define APREQ_FLAGS_OFF(f, name)
Definition: apreq.h:73
#define apreq_attr_to_type(T, A, P)
Definition: apreq.h:220
#define APREQ_FLAGS_SET(f, name, value)
Definition: apreq.h:88
#define APREQ_FLAGS_ON(f, name)
Definition: apreq.h:77
char * apreq_cookie_as_string(const apreq_cookie_t *c, apr_pool_t *p)
apr_status_t apreq_parse_cookie_header(apr_pool_t *pool, apr_table_t *jar, const char *header)
struct apreq_cookie_t apreq_cookie_t
Cookie type, supporting both Netscape and RFC cookie specifications.
apreq_cookie_t * apreq_cookie_make(apr_pool_t *pool, const char *name, const apr_size_t nlen, const char *value, const apr_size_t vlen)
void apreq_cookie_expires(apreq_cookie_t *c, const char *time_str)
int apreq_cookie_serialize(const apreq_cookie_t *c, char *buf, apr_size_t len)
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:557
const char * name
Definition: mod_dav.h:805
int apr_status_t
Definition: apr_errno.h:44
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
struct apr_table_t apr_table_t
Definition: apr_tables.h:56
apr_int64_t apr_time_t
Definition: apr_time.h:45
#define APREQ_DECLARE(x)
Definition: macros.h:12
Cookie type, supporting both Netscape and RFC cookie specifications.
Definition: apreq_cookie.h:53
char * commentURL
Definition: apreq_cookie.h:59
char * port
Definition: apreq_cookie.h:57
const apreq_value_t v
Definition: apreq_cookie.h:62
char * path
Definition: apreq_cookie.h:55
unsigned flags
Definition: apreq_cookie.h:61
char * domain
Definition: apreq_cookie.h:56
apr_time_t max_age
Definition: apreq_cookie.h:60
char * comment
Definition: apreq_cookie.h:58
libapreq's pre-extensible string type
Definition: apreq.h:190