src/server/util/pblock.h

changeset 148
d861ee1455bf
parent 37
360b9aabe17e
child 149
aa016efb9ad7
equal deleted inserted replaced
147:d050449c3b9e 148:d861ee1455bf
107 107
108 /* --------------------------- Internal things ---------------------------- */ 108 /* --------------------------- Internal things ---------------------------- */
109 109
110 typedef struct pb_key pb_key; 110 typedef struct pb_key pb_key;
111 111
112 BASE_DLL extern const pb_key *const pb_key_accept; 112 const pb_key *const pb_key_accept;
113 BASE_DLL extern const pb_key *const pb_key_accept_charset; 113 const pb_key *const pb_key_accept_charset;
114 BASE_DLL extern const pb_key *const pb_key_accept_encoding; 114 const pb_key *const pb_key_accept_encoding;
115 BASE_DLL extern const pb_key *const pb_key_accept_language; 115 const pb_key *const pb_key_accept_language;
116 BASE_DLL extern const pb_key *const pb_key_accept_ranges; 116 const pb_key *const pb_key_accept_ranges;
117 BASE_DLL extern const pb_key *const pb_key_actual_route; 117 const pb_key *const pb_key_actual_route;
118 BASE_DLL extern const pb_key *const pb_key_age; 118 const pb_key *const pb_key_age;
119 BASE_DLL extern const pb_key *const pb_key_always_allow_chunked; 119 const pb_key *const pb_key_always_allow_chunked;
120 BASE_DLL extern const pb_key *const pb_key_always_use_keep_alive; 120 const pb_key *const pb_key_always_use_keep_alive;
121 BASE_DLL extern const pb_key *const pb_key_auth_cert; 121 const pb_key *const pb_key_auth_cert;
122 BASE_DLL extern const pb_key *const pb_key_auth_expiring; 122 const pb_key *const pb_key_auth_expiring;
123 BASE_DLL extern const pb_key *const pb_key_auth_group; 123 const pb_key *const pb_key_auth_group;
124 BASE_DLL extern const pb_key *const pb_key_auth_type; 124 const pb_key *const pb_key_auth_type;
125 BASE_DLL extern const pb_key *const pb_key_auth_user; 125 const pb_key *const pb_key_auth_user;
126 BASE_DLL extern const pb_key *const pb_key_authorization; 126 const pb_key *const pb_key_authorization;
127 BASE_DLL extern const pb_key *const pb_key_browser; 127 const pb_key *const pb_key_browser;
128 BASE_DLL extern const pb_key *const pb_key_c2p_cl; 128 const pb_key *const pb_key_c2p_cl;
129 BASE_DLL extern const pb_key *const pb_key_c2p_hl; 129 const pb_key *const pb_key_c2p_hl;
130 BASE_DLL extern const pb_key *const pb_key_cache_info; 130 const pb_key *const pb_key_cache_info;
131 BASE_DLL extern const pb_key *const pb_key_charset; 131 const pb_key *const pb_key_charset;
132 BASE_DLL extern const pb_key *const pb_key_check_http_server; 132 const pb_key *const pb_key_check_http_server;
133 BASE_DLL extern const pb_key *const pb_key_ChunkedRequestBufferSize; 133 const pb_key *const pb_key_ChunkedRequestBufferSize;
134 BASE_DLL extern const pb_key *const pb_key_ChunkedRequestTimeout; 134 const pb_key *const pb_key_ChunkedRequestTimeout;
135 BASE_DLL extern const pb_key *const pb_key_cipher; 135 const pb_key *const pb_key_cipher;
136 BASE_DLL extern const pb_key *const pb_key_clf_request; 136 const pb_key *const pb_key_clf_request;
137 BASE_DLL extern const pb_key *const pb_key_cli_status; 137 const pb_key *const pb_key_cli_status;
138 BASE_DLL extern const pb_key *const pb_key_client_cert_nickname; 138 const pb_key *const pb_key_client_cert_nickname;
139 BASE_DLL extern const pb_key *const pb_key_client_ip; 139 const pb_key *const pb_key_client_ip;
140 BASE_DLL extern const pb_key *const pb_key_close; 140 const pb_key *const pb_key_close;
141 BASE_DLL extern const pb_key *const pb_key_connect_timeout; 141 const pb_key *const pb_key_connect_timeout;
142 BASE_DLL extern const pb_key *const pb_key_connection; 142 const pb_key *const pb_key_connection;
143 BASE_DLL extern const pb_key *const pb_key_cont; 143 const pb_key *const pb_key_cont;
144 BASE_DLL extern const pb_key *const pb_key_content_encoding; 144 const pb_key *const pb_key_content_encoding;
145 BASE_DLL extern const pb_key *const pb_key_content_language; 145 const pb_key *const pb_key_content_language;
146 BASE_DLL extern const pb_key *const pb_key_content_length; 146 const pb_key *const pb_key_content_length;
147 BASE_DLL extern const pb_key *const pb_key_content_location; 147 const pb_key *const pb_key_content_location;
148 BASE_DLL extern const pb_key *const pb_key_content_md5; 148 const pb_key *const pb_key_content_md5;
149 BASE_DLL extern const pb_key *const pb_key_content_range; 149 const pb_key *const pb_key_content_range;
150 BASE_DLL extern const pb_key *const pb_key_content_type; 150 const pb_key *const pb_key_content_type;
151 BASE_DLL extern const pb_key *const pb_key_cookie; 151 const pb_key *const pb_key_cookie;
152 BASE_DLL extern const pb_key *const pb_key_date; 152 const pb_key *const pb_key_date;
153 BASE_DLL extern const pb_key *const pb_key_DATE_GMT; 153 const pb_key *const pb_key_DATE_GMT;
154 BASE_DLL extern const pb_key *const pb_key_DATE_LOCAL; 154 const pb_key *const pb_key_DATE_LOCAL;
155 BASE_DLL extern const pb_key *const pb_key_dir; 155 const pb_key *const pb_key_dir;
156 BASE_DLL extern const pb_key *const pb_key_Directive; 156 const pb_key *const pb_key_Directive;
157 BASE_DLL extern const pb_key *const pb_key_dns; 157 const pb_key *const pb_key_dns;
158 BASE_DLL extern const pb_key *const pb_key_DOCUMENT_NAME; 158 const pb_key *const pb_key_DOCUMENT_NAME;
159 BASE_DLL extern const pb_key *const pb_key_DOCUMENT_URI; 159 const pb_key *const pb_key_DOCUMENT_URI;
160 BASE_DLL extern const pb_key *const pb_key_domain; 160 const pb_key *const pb_key_domain;
161 BASE_DLL extern const pb_key *const pb_key_enc; 161 const pb_key *const pb_key_enc;
162 BASE_DLL extern const pb_key *const pb_key_engine; 162 const pb_key *const pb_key_engine;
163 BASE_DLL extern const pb_key *const pb_key_error_action; 163 const pb_key *const pb_key_error_action;
164 BASE_DLL extern const pb_key *const pb_key_error_desc; 164 const pb_key *const pb_key_error_desc;
165 BASE_DLL extern const pb_key *const pb_key_error_fn; 165 const pb_key *const pb_key_error_fn;
166 BASE_DLL extern const pb_key *const pb_key_escape; 166 const pb_key *const pb_key_escape;
167 BASE_DLL extern const pb_key *const pb_key_escaped; 167 const pb_key *const pb_key_escaped;
168 BASE_DLL extern const pb_key *const pb_key_etag; 168 const pb_key *const pb_key_etag;
169 BASE_DLL extern const pb_key *const pb_key_expect; 169 const pb_key *const pb_key_expect;
170 BASE_DLL extern const pb_key *const pb_key_expires; 170 const pb_key *const pb_key_expires;
171 BASE_DLL extern const pb_key *const pb_key_expr; 171 const pb_key *const pb_key_expr;
172 BASE_DLL extern const pb_key *const pb_key_filter; 172 const pb_key *const pb_key_filter;
173 BASE_DLL extern const pb_key *const pb_key_find_pathinfo_forward; 173 const pb_key *const pb_key_find_pathinfo_forward;
174 BASE_DLL extern const pb_key *const pb_key_flushTimer; 174 const pb_key *const pb_key_flushTimer;
175 BASE_DLL extern const pb_key *const pb_key_fn; 175 const pb_key *const pb_key_fn;
176 BASE_DLL extern const pb_key *const pb_key_from; 176 const pb_key *const pb_key_from;
177 BASE_DLL extern const pb_key *const pb_key_full_headers; 177 const pb_key *const pb_key_full_headers;
178 BASE_DLL extern const pb_key *const pb_key_hdr; 178 const pb_key *const pb_key_hdr;
179 BASE_DLL extern const pb_key *const pb_key_host; 179 const pb_key *const pb_key_host;
180 BASE_DLL extern const pb_key *const pb_key_hostname; 180 const pb_key *const pb_key_hostname;
181 BASE_DLL extern const pb_key *const pb_key_if_match; 181 const pb_key *const pb_key_if_match;
182 BASE_DLL extern const pb_key *const pb_key_if_modified_since; 182 const pb_key *const pb_key_if_modified_since;
183 BASE_DLL extern const pb_key *const pb_key_if_none_match; 183 const pb_key *const pb_key_if_none_match;
184 BASE_DLL extern const pb_key *const pb_key_if_range; 184 const pb_key *const pb_key_if_range;
185 BASE_DLL extern const pb_key *const pb_key_if_unmodified_since; 185 const pb_key *const pb_key_if_unmodified_since;
186 BASE_DLL extern const pb_key *const pb_key_ip; 186 const pb_key *const pb_key_ip;
187 BASE_DLL extern const pb_key *const pb_key_iponly; 187 const pb_key *const pb_key_iponly;
188 BASE_DLL extern const pb_key *const pb_key_issuer_dn; 188 const pb_key *const pb_key_issuer_dn;
189 BASE_DLL extern const pb_key *const pb_key_jroute; 189 const pb_key *const pb_key_jroute;
190 BASE_DLL extern const pb_key *const pb_key_keep_alive; 190 const pb_key *const pb_key_keep_alive;
191 BASE_DLL extern const pb_key *const pb_key_keep_alive_timeout; 191 const pb_key *const pb_key_keep_alive_timeout;
192 BASE_DLL extern const pb_key *const pb_key_keysize; 192 const pb_key *const pb_key_keysize;
193 BASE_DLL extern const pb_key *const pb_key_lang; 193 const pb_key *const pb_key_lang;
194 BASE_DLL extern const pb_key *const pb_key_LAST_MODIFIED; 194 const pb_key *const pb_key_LAST_MODIFIED;
195 BASE_DLL extern const pb_key *const pb_key_last_modified; 195 const pb_key *const pb_key_last_modified;
196 BASE_DLL extern const pb_key *const pb_key_level; 196 const pb_key *const pb_key_level;
197 BASE_DLL extern const pb_key *const pb_key_location; 197 const pb_key *const pb_key_location;
198 BASE_DLL extern const pb_key *const pb_key_lock_owner; 198 const pb_key *const pb_key_lock_owner;
199 BASE_DLL extern const pb_key *const pb_key_magnus_charset; 199 const pb_key *const pb_key_magnus_charset;
200 BASE_DLL extern const pb_key *const pb_key_magnus_internal; 200 const pb_key *const pb_key_magnus_internal;
201 BASE_DLL extern const pb_key *const pb_key_magnus_internal_dav_src; 201 const pb_key *const pb_key_magnus_internal_dav_src;
202 BASE_DLL extern const pb_key *const pb_key_magnus_internal_default_acls_only; 202 const pb_key *const pb_key_magnus_internal_default_acls_only;
203 BASE_DLL extern const pb_key *const pb_key_magnus_internal_error_j2ee; 203 const pb_key *const pb_key_magnus_internal_error_j2ee;
204 BASE_DLL extern const pb_key *const pb_key_magnus_internal_j2ee_nsapi; 204 const pb_key *const pb_key_magnus_internal_j2ee_nsapi;
205 BASE_DLL extern const pb_key *const pb_key_magnus_internal_preserve_srvhdrs; 205 const pb_key *const pb_key_magnus_internal_preserve_srvhdrs;
206 BASE_DLL extern const pb_key *const pb_key_magnus_internal_set_request_status; 206 const pb_key *const pb_key_magnus_internal_set_request_status;
207 BASE_DLL extern const pb_key *const pb_key_magnus_internal_set_response_status; 207 const pb_key *const pb_key_magnus_internal_set_response_status;
208 BASE_DLL extern const pb_key *const pb_key_magnus_internal_webapp_errordesc; 208 const pb_key *const pb_key_magnus_internal_webapp_errordesc;
209 BASE_DLL extern const pb_key *const pb_key_matched_browser; 209 const pb_key *const pb_key_matched_browser;
210 BASE_DLL extern const pb_key *const pb_key_max_age; 210 const pb_key *const pb_key_max_age;
211 BASE_DLL extern const pb_key *const pb_key_max_forwards; 211 const pb_key *const pb_key_max_forwards;
212 BASE_DLL extern const pb_key *const pb_key_message; 212 const pb_key *const pb_key_message;
213 BASE_DLL extern const pb_key *const pb_key_method; 213 const pb_key *const pb_key_method;
214 BASE_DLL extern const pb_key *const pb_key_name; 214 const pb_key *const pb_key_name;
215 BASE_DLL extern const pb_key *const pb_key_nocache; 215 const pb_key *const pb_key_nocache;
216 BASE_DLL extern const pb_key *const pb_key_nostat; 216 const pb_key *const pb_key_nostat;
217 BASE_DLL extern const pb_key *const pb_key_ntrans_base; 217 const pb_key *const pb_key_ntrans_base;
218 BASE_DLL extern const pb_key *const pb_key_offline_origin_addr; 218 const pb_key *const pb_key_offline_origin_addr;
219 BASE_DLL extern const pb_key *const pb_key_offline_proxy_addr; 219 const pb_key *const pb_key_offline_proxy_addr;
220 BASE_DLL extern const pb_key *const pb_key_origin_addr; 220 const pb_key *const pb_key_origin_addr;
221 BASE_DLL extern const pb_key *const pb_key_p2c_cl; 221 const pb_key *const pb_key_p2c_cl;
222 BASE_DLL extern const pb_key *const pb_key_p2c_hl; 222 const pb_key *const pb_key_p2c_hl;
223 BASE_DLL extern const pb_key *const pb_key_p2r_cl; 223 const pb_key *const pb_key_p2r_cl;
224 BASE_DLL extern const pb_key *const pb_key_p2r_hl; 224 const pb_key *const pb_key_p2r_hl;
225 BASE_DLL extern const pb_key *const pb_key_parse_timeout; 225 const pb_key *const pb_key_parse_timeout;
226 BASE_DLL extern const pb_key *const pb_key_password; 226 const pb_key *const pb_key_password;
227 BASE_DLL extern const pb_key *const pb_key_path; 227 const pb_key *const pb_key_path;
228 BASE_DLL extern const pb_key *const pb_key_PATH_INFO; 228 const pb_key *const pb_key_PATH_INFO;
229 BASE_DLL extern const pb_key *const pb_key_path_info; 229 const pb_key *const pb_key_path_info;
230 BASE_DLL extern const pb_key *const pb_key_pblock; 230 const pb_key *const pb_key_pblock;
231 BASE_DLL extern const pb_key *const pb_key_poll_interval; 231 const pb_key *const pb_key_poll_interval;
232 BASE_DLL extern const pb_key *const pb_key_pool; // new 232 const pb_key *const pb_key_pool; // new
233 BASE_DLL extern const pb_key *const pb_key_port; 233 const pb_key *const pb_key_port;
234 BASE_DLL extern const pb_key *const pb_key_ppath; 234 const pb_key *const pb_key_ppath;
235 BASE_DLL extern const pb_key *const pb_key_pragma; 235 const pb_key *const pb_key_pragma;
236 BASE_DLL extern const pb_key *const pb_key_process_request_body; 236 const pb_key *const pb_key_process_request_body;
237 BASE_DLL extern const pb_key *const pb_key_process_response_body; 237 const pb_key *const pb_key_process_response_body;
238 BASE_DLL extern const pb_key *const pb_key_protocol; 238 const pb_key *const pb_key_protocol;
239 BASE_DLL extern const pb_key *const pb_key_proxy_addr; 239 const pb_key *const pb_key_proxy_addr;
240 BASE_DLL extern const pb_key *const pb_key_proxy_agent; 240 const pb_key *const pb_key_proxy_agent;
241 BASE_DLL extern const pb_key *const pb_key_proxy_auth_cert; 241 const pb_key *const pb_key_proxy_auth_cert;
242 BASE_DLL extern const pb_key *const pb_key_proxy_authorization; 242 const pb_key *const pb_key_proxy_authorization;
243 BASE_DLL extern const pb_key *const pb_key_proxy_cipher; 243 const pb_key *const pb_key_proxy_cipher;
244 BASE_DLL extern const pb_key *const pb_key_proxy_issuer_dn; 244 const pb_key *const pb_key_proxy_issuer_dn;
245 BASE_DLL extern const pb_key *const pb_key_proxy_jroute; 245 const pb_key *const pb_key_proxy_jroute;
246 BASE_DLL extern const pb_key *const pb_key_proxy_keysize; 246 const pb_key *const pb_key_proxy_keysize;
247 BASE_DLL extern const pb_key *const pb_key_proxy_ping; 247 const pb_key *const pb_key_proxy_ping;
248 BASE_DLL extern const pb_key *const pb_key_proxy_request; 248 const pb_key *const pb_key_proxy_request;
249 BASE_DLL extern const pb_key *const pb_key_proxy_secret_keysize; 249 const pb_key *const pb_key_proxy_secret_keysize;
250 BASE_DLL extern const pb_key *const pb_key_proxy_ssl_id; 250 const pb_key *const pb_key_proxy_ssl_id;
251 BASE_DLL extern const pb_key *const pb_key_proxy_user_dn; 251 const pb_key *const pb_key_proxy_user_dn;
252 BASE_DLL extern const pb_key *const pb_key_query; 252 const pb_key *const pb_key_query;
253 BASE_DLL extern const pb_key *const pb_key_QUERY_STRING; 253 const pb_key *const pb_key_QUERY_STRING;
254 BASE_DLL extern const pb_key *const pb_key_QUERY_STRING_UNESCAPED; 254 const pb_key *const pb_key_QUERY_STRING_UNESCAPED;
255 BASE_DLL extern const pb_key *const pb_key_r2p_cl; 255 const pb_key *const pb_key_r2p_cl;
256 BASE_DLL extern const pb_key *const pb_key_r2p_hl; 256 const pb_key *const pb_key_r2p_hl;
257 BASE_DLL extern const pb_key *const pb_key_range; 257 const pb_key *const pb_key_range;
258 BASE_DLL extern const pb_key *const pb_key_referer; 258 const pb_key *const pb_key_referer;
259 BASE_DLL extern const pb_key *const pb_key_reformat_request_headers; 259 const pb_key *const pb_key_reformat_request_headers;
260 BASE_DLL extern const pb_key *const pb_key_remote_status; 260 const pb_key *const pb_key_remote_status;
261 BASE_DLL extern const pb_key *const pb_key_request_jroute; 261 const pb_key *const pb_key_request_jroute;
262 BASE_DLL extern const pb_key *const pb_key_required_rights; 262 const pb_key *const pb_key_required_rights;
263 BASE_DLL extern const pb_key *const pb_key_retries; 263 const pb_key *const pb_key_retries;
264 BASE_DLL extern const pb_key *const pb_key_rewrite_content_location; 264 const pb_key *const pb_key_rewrite_content_location;
265 BASE_DLL extern const pb_key *const pb_key_rewrite_host; 265 const pb_key *const pb_key_rewrite_host;
266 BASE_DLL extern const pb_key *const pb_key_rewrite_location; 266 const pb_key *const pb_key_rewrite_location;
267 BASE_DLL extern const pb_key *const pb_key_rewrite_set_cookie; 267 const pb_key *const pb_key_rewrite_set_cookie;
268 BASE_DLL extern const pb_key *const pb_key_root; 268 const pb_key *const pb_key_root;
269 BASE_DLL extern const pb_key *const pb_key_route; 269 const pb_key *const pb_key_route;
270 BASE_DLL extern const pb_key *const pb_key_route_cookie; 270 const pb_key *const pb_key_route_cookie;
271 BASE_DLL extern const pb_key *const pb_key_route_hdr; 271 const pb_key *const pb_key_route_hdr;
272 BASE_DLL extern const pb_key *const pb_key_route_offline; 272 const pb_key *const pb_key_route_offline;
273 BASE_DLL extern const pb_key *const pb_key_script_name; 273 const pb_key *const pb_key_script_name;
274 BASE_DLL extern const pb_key *const pb_key_secret_keysize; 274 const pb_key *const pb_key_secret_keysize;
275 BASE_DLL extern const pb_key *const pb_key_secure; 275 const pb_key *const pb_key_secure;
276 BASE_DLL extern const pb_key *const pb_key_server; 276 const pb_key *const pb_key_server;
277 BASE_DLL extern const pb_key *const pb_key_set_cookie; 277 const pb_key *const pb_key_set_cookie;
278 BASE_DLL extern const pb_key *const pb_key_socks_addr; 278 const pb_key *const pb_key_socks_addr;
279 BASE_DLL extern const pb_key *const pb_key_ssl_id; 279 const pb_key *const pb_key_ssl_id;
280 BASE_DLL extern const pb_key *const pb_key_ssl_unclean_shutdown; 280 const pb_key *const pb_key_ssl_unclean_shutdown;
281 BASE_DLL extern const pb_key *const pb_key_status; 281 const pb_key *const pb_key_status;
282 BASE_DLL extern const pb_key *const pb_key_sticky_cookie; 282 const pb_key *const pb_key_sticky_cookie;
283 BASE_DLL extern const pb_key *const pb_key_sticky_param; 283 const pb_key *const pb_key_sticky_param;
284 BASE_DLL extern const pb_key *const pb_key_suppress_request_headers; 284 const pb_key *const pb_key_suppress_request_headers;
285 BASE_DLL extern const pb_key *const pb_key_svr_status; 285 const pb_key *const pb_key_svr_status;
286 BASE_DLL extern const pb_key *const pb_key_timeout; 286 const pb_key *const pb_key_timeout;
287 BASE_DLL extern const pb_key *const pb_key_to; 287 const pb_key *const pb_key_to;
288 BASE_DLL extern const pb_key *const pb_key_transfer_encoding; 288 const pb_key *const pb_key_transfer_encoding;
289 BASE_DLL extern const pb_key *const pb_key_transmit_timeout; 289 const pb_key *const pb_key_transmit_timeout;
290 BASE_DLL extern const pb_key *const pb_key_tunnel_non_http_response; 290 const pb_key *const pb_key_tunnel_non_http_response;
291 BASE_DLL extern const pb_key *const pb_key_type; 291 const pb_key *const pb_key_type;
292 BASE_DLL extern const pb_key *const pb_key_upstream_jroute; 292 const pb_key *const pb_key_upstream_jroute;
293 BASE_DLL extern const pb_key *const pb_key_uri; 293 const pb_key *const pb_key_uri;
294 BASE_DLL extern const pb_key *const pb_key_url; 294 const pb_key *const pb_key_url;
295 BASE_DLL extern const pb_key *const pb_key_url_prefix; 295 const pb_key *const pb_key_url_prefix;
296 BASE_DLL extern const pb_key *const pb_key_UseOutputStreamSize; 296 const pb_key *const pb_key_UseOutputStreamSize;
297 BASE_DLL extern const pb_key *const pb_key_user; 297 const pb_key *const pb_key_user;
298 BASE_DLL extern const pb_key *const pb_key_user_agent; 298 const pb_key *const pb_key_user_agent;
299 BASE_DLL extern const pb_key *const pb_key_user_dn; 299 const pb_key *const pb_key_user_dn;
300 BASE_DLL extern const pb_key *const pb_key_validate_server_cert; 300 const pb_key *const pb_key_validate_server_cert;
301 BASE_DLL extern const pb_key *const pb_key_value; 301 const pb_key *const pb_key_value;
302 BASE_DLL extern const pb_key *const pb_key_vary; 302 const pb_key *const pb_key_vary;
303 BASE_DLL extern const pb_key *const pb_key_via; 303 const pb_key *const pb_key_via;
304 BASE_DLL extern const pb_key *const pb_key_warning; 304 const pb_key *const pb_key_warning;
305 305
306 NSAPI_PUBLIC pool_handle_t *pblock_pool(pblock *pb); 306 NSAPI_PUBLIC pool_handle_t *pblock_pool(pblock *pb);
307 307
308 NSAPI_PUBLIC pb_param *pblock_param_create(pblock *pb, const char *name, const char *value); 308 NSAPI_PUBLIC pb_param *pblock_param_create(pblock *pb, const char *name, const char *value);
309 309

mercurial