]> granicus.if.org Git - apache/blob - ap.d
Vote, promote.
[apache] / ap.d
1 #pragma D depends_on provider io
2 typedef struct request_rec {
3     uintptr_t pool;
4     uintptr_t connection;
5     uintptr_t server;
6     uintptr_t next;
7     uintptr_t prev;
8     uintptr_t main;
9     char *the_request;
10     int assbackwards;
11     int proxyreq;
12     int header_only;
13     char *protocol;
14     int proto_num;
15     char *hostname;
16     int64_t request_time;
17     char *status_line;
18     int status;
19     const char *method;
20     int method_number;
21     int64_t allowed;
22     uintptr_t allowed_xmethods;
23     uintptr_t allowed_methods;
24     offset_t sent_bodyct;
25     offset_t bytes_sent;
26     int64_t mtime;
27     int chunked;
28     char *range;
29     offset_t clength;
30     offset_t remaining;
31     offset_t read_length;
32     int read_body;
33     int read_chunked;
34     unsigned expecting_100;
35     uintptr_t headers_in;
36     uintptr_t headers_out;
37     uintptr_t err_headers_out;
38     uintptr_t subprocess_env;
39     uintptr_t notes;
40     char *content_type;   /* Break these out --- we dispatch on 'em */
41     char *handler;        /* What we *really* dispatch on */
42     char *content_encoding;
43     uintptr_t content_languages;
44     char *vlist_validator;
45     char *user;
46     char *ap_auth_type;
47     int no_cache;
48     int no_local_copy;
49     char *unparsed_uri;
50     char *uri;
51     char *filename;
52     char *canonical_filename;
53     char *path_info;
54     char *args;
55     /* finfo */
56     uintptr_t finfo_pool;
57     int32_t finfo_valid;
58     int32_t finfo_protection;
59     int32_t finfo_filetype;
60     int finfo_user;
61     int finfo_group;
62     uint64_t finfo_inode;
63     uint64_t finfo_device;
64     int32_t finfo_nlink;
65     offset_t finfo_size;
66     offset_t finfo_csize;
67     int64_t finfo_atime;
68     int64_t finfo_mtime;
69     int64_t finfo_ctime;
70     char *finfo_fname;
71     char *finfo_name;
72     uintptr_t finfo_ffilehand;
73     /* parsed_uri */
74     char *uri_scheme;
75     char *uri_hostinfo;
76     char *uri_user;
77     char *uri_password;
78     char *uri_hostname;
79     char *uri_port_str;
80     char *uri_path;
81     char *uri_query;
82     char *uri_fragment;
83     uintptr_t uri_hostent;
84     uint16_t uri_port;
85     unsigned uri_is_initialized:1;
86     unsigned uri_dns_looked_up:1;
87     unsigned uri_dns_resolved:1;
88
89     /* back to request_rec */
90     int used_path_info;
91     uintptr_t per_dir_config;
92     uintptr_t request_config;
93     uintptr_t htaccess;
94     uintptr_t output_filters;
95     uintptr_t input_filters;
96     uintptr_t proto_output_filters;
97     uintptr_t proto_input_filters;
98     int eos_sent;
99     uintptr_t kept_body;
100     uintptr_t invoke_mtx;
101 } request_rec;
102