--- a/src/server/util/pblock.h Thu Jan 26 17:23:11 2017 +0100 +++ b/src/server/util/pblock.h Thu Jan 26 18:53:52 2017 +0100 @@ -60,8 +60,10 @@ #ifdef XP_WIN32 #ifdef BUILD_DLL #define BASE_DLL _declspec(dllexport) +#define BASE_DLL #else -#define BASE_DLL _declspec(dllimport) +//define BASE_DLL _declspec(dllimport) +#define BASE_DLL #endif #else #define BASE_DLL @@ -109,198 +111,199 @@ typedef struct pb_key pb_key; -extern const pb_key *const pb_key_accept; -extern const pb_key *const pb_key_accept_charset; -extern const pb_key *const pb_key_accept_encoding; -extern const pb_key *const pb_key_accept_language; -extern const pb_key *const pb_key_accept_ranges; -extern const pb_key *const pb_key_actual_route; -extern const pb_key *const pb_key_age; -extern const pb_key *const pb_key_always_allow_chunked; -extern const pb_key *const pb_key_always_use_keep_alive; -extern const pb_key *const pb_key_auth_cert; -extern const pb_key *const pb_key_auth_expiring; -extern const pb_key *const pb_key_auth_group; -extern const pb_key *const pb_key_auth_type; -extern const pb_key *const pb_key_auth_user; -extern const pb_key *const pb_key_authorization; -extern const pb_key *const pb_key_browser; -extern const pb_key *const pb_key_c2p_cl; -extern const pb_key *const pb_key_c2p_hl; -extern const pb_key *const pb_key_cache_info; -extern const pb_key *const pb_key_charset; -extern const pb_key *const pb_key_check_http_server; -extern const pb_key *const pb_key_ChunkedRequestBufferSize; -extern const pb_key *const pb_key_ChunkedRequestTimeout; -extern const pb_key *const pb_key_cipher; -extern const pb_key *const pb_key_clf_request; -extern const pb_key *const pb_key_cli_status; -extern const pb_key *const pb_key_client_cert_nickname; -extern const pb_key *const pb_key_client_ip; -extern const pb_key *const pb_key_close; -extern const pb_key *const pb_key_connect_timeout; -extern const pb_key *const pb_key_connection; -extern const pb_key *const pb_key_cont; -extern const pb_key *const pb_key_content_encoding; -extern const pb_key *const pb_key_content_language; -extern const pb_key *const pb_key_content_length; -extern const pb_key *const pb_key_content_location; -extern const pb_key *const pb_key_content_md5; -extern const pb_key *const pb_key_content_range; -extern const pb_key *const pb_key_content_type; -extern const pb_key *const pb_key_cookie; -extern const pb_key *const pb_key_date; -extern const pb_key *const pb_key_DATE_GMT; -extern const pb_key *const pb_key_DATE_LOCAL; -extern const pb_key *const pb_key_dir; -extern const pb_key *const pb_key_Directive; -extern const pb_key *const pb_key_dns; -extern const pb_key *const pb_key_DOCUMENT_NAME; -extern const pb_key *const pb_key_DOCUMENT_URI; -extern const pb_key *const pb_key_domain; -extern const pb_key *const pb_key_enc; -extern const pb_key *const pb_key_engine; -extern const pb_key *const pb_key_error_action; -extern const pb_key *const pb_key_error_desc; -extern const pb_key *const pb_key_error_fn; -extern const pb_key *const pb_key_escape; -extern const pb_key *const pb_key_escaped; -extern const pb_key *const pb_key_etag; -extern const pb_key *const pb_key_expect; -extern const pb_key *const pb_key_expires; -extern const pb_key *const pb_key_expr; -extern const pb_key *const pb_key_filter; -extern const pb_key *const pb_key_find_pathinfo_forward; -extern const pb_key *const pb_key_flushTimer; -extern const pb_key *const pb_key_fn; -extern const pb_key *const pb_key_from; -extern const pb_key *const pb_key_full_headers; -extern const pb_key *const pb_key_hdr; -extern const pb_key *const pb_key_host; -extern const pb_key *const pb_key_hostname; -extern const pb_key *const pb_key_if_match; -extern const pb_key *const pb_key_if_modified_since; -extern const pb_key *const pb_key_if_none_match; -extern const pb_key *const pb_key_if_range; -extern const pb_key *const pb_key_if_unmodified_since; -extern const pb_key *const pb_key_ip; -extern const pb_key *const pb_key_iponly; -extern const pb_key *const pb_key_issuer_dn; -extern const pb_key *const pb_key_jroute; -extern const pb_key *const pb_key_keep_alive; -extern const pb_key *const pb_key_keep_alive_timeout; -extern const pb_key *const pb_key_keysize; -extern const pb_key *const pb_key_lang; -extern const pb_key *const pb_key_last_modified; -extern const pb_key *const pb_key_level; -extern const pb_key *const pb_key_location; -extern const pb_key *const pb_key_lock_owner; -extern const pb_key *const pb_key_magnus_charset; -extern const pb_key *const pb_key_magnus_internal; -extern const pb_key *const pb_key_magnus_internal_dav_src; -extern const pb_key *const pb_key_magnus_internal_default_acls_only; -extern const pb_key *const pb_key_magnus_internal_error_j2ee; -extern const pb_key *const pb_key_magnus_internal_j2ee_nsapi; -extern const pb_key *const pb_key_magnus_internal_preserve_srvhdrs; -extern const pb_key *const pb_key_magnus_internal_set_request_status; -extern const pb_key *const pb_key_magnus_internal_set_response_status; -extern const pb_key *const pb_key_magnus_internal_webapp_errordesc; -extern const pb_key *const pb_key_matched_browser; -extern const pb_key *const pb_key_max_age; -extern const pb_key *const pb_key_max_forwards; -extern const pb_key *const pb_key_message; -extern const pb_key *const pb_key_method; -extern const pb_key *const pb_key_name; -extern const pb_key *const pb_key_nocache; -extern const pb_key *const pb_key_nostat; -extern const pb_key *const pb_key_ntrans_base; -extern const pb_key *const pb_key_offline_origin_addr; -extern const pb_key *const pb_key_offline_proxy_addr; -extern const pb_key *const pb_key_origin_addr; -extern const pb_key *const pb_key_p2c_cl; -extern const pb_key *const pb_key_p2c_hl; -extern const pb_key *const pb_key_p2r_cl; -extern const pb_key *const pb_key_p2r_hl; -extern const pb_key *const pb_key_parse_timeout; -extern const pb_key *const pb_key_password; -extern const pb_key *const pb_key_path; -extern const pb_key *const pb_key_PATH_INFO; -extern const pb_key *const pb_key_path_info; -extern const pb_key *const pb_key_pblock; -extern const pb_key *const pb_key_poll_interval; -extern const pb_key *const pb_key_pool; // new -extern const pb_key *const pb_key_port; -extern const pb_key *const pb_key_ppath; -extern const pb_key *const pb_key_pragma; -extern const pb_key *const pb_key_process_request_body; -extern const pb_key *const pb_key_process_response_body; -extern const pb_key *const pb_key_protocol; -extern const pb_key *const pb_key_proxy_addr; -extern const pb_key *const pb_key_proxy_agent; -extern const pb_key *const pb_key_proxy_auth_cert; -extern const pb_key *const pb_key_proxy_authorization; -extern const pb_key *const pb_key_proxy_cipher; -extern const pb_key *const pb_key_proxy_issuer_dn; -extern const pb_key *const pb_key_proxy_jroute; -extern const pb_key *const pb_key_proxy_keysize; -extern const pb_key *const pb_key_proxy_ping; -extern const pb_key *const pb_key_proxy_request; -extern const pb_key *const pb_key_proxy_secret_keysize; -extern const pb_key *const pb_key_proxy_ssl_id; -extern const pb_key *const pb_key_proxy_user_dn; -extern const pb_key *const pb_key_query; -extern const pb_key *const pb_key_QUERY_STRING; -extern const pb_key *const pb_key_QUERY_STRING_UNESCAPED; -extern const pb_key *const pb_key_r2p_cl; -extern const pb_key *const pb_key_r2p_hl; -extern const pb_key *const pb_key_range; -extern const pb_key *const pb_key_referer; -extern const pb_key *const pb_key_reformat_request_headers; -extern const pb_key *const pb_key_remote_status; -extern const pb_key *const pb_key_request_jroute; -extern const pb_key *const pb_key_required_rights; -extern const pb_key *const pb_key_retries; -extern const pb_key *const pb_key_rewrite_content_location; -extern const pb_key *const pb_key_rewrite_host; -extern const pb_key *const pb_key_rewrite_location; -extern const pb_key *const pb_key_rewrite_set_cookie; -extern const pb_key *const pb_key_root; -extern const pb_key *const pb_key_route; -extern const pb_key *const pb_key_route_cookie; -extern const pb_key *const pb_key_route_hdr; -extern const pb_key *const pb_key_route_offline; -extern const pb_key *const pb_key_script_name; -extern const pb_key *const pb_key_secret_keysize; -extern const pb_key *const pb_key_secure; -extern const pb_key *const pb_key_server; -extern const pb_key *const pb_key_set_cookie; -extern const pb_key *const pb_key_socks_addr; -extern const pb_key *const pb_key_ssl_id; -extern const pb_key *const pb_key_ssl_unclean_shutdown; -extern const pb_key *const pb_key_status; -extern const pb_key *const pb_key_sticky_cookie; -extern const pb_key *const pb_key_sticky_param; -extern const pb_key *const pb_key_suppress_request_headers; -extern const pb_key *const pb_key_svr_status; -extern const pb_key *const pb_key_timeout; -extern const pb_key *const pb_key_to; -extern const pb_key *const pb_key_transfer_encoding; -extern const pb_key *const pb_key_transmit_timeout; -extern const pb_key *const pb_key_tunnel_non_http_response; -extern const pb_key *const pb_key_type; -extern const pb_key *const pb_key_upstream_jroute; -extern const pb_key *const pb_key_uri; -extern const pb_key *const pb_key_url; -extern const pb_key *const pb_key_url_prefix; -extern const pb_key *const pb_key_UseOutputStreamSize; -extern const pb_key *const pb_key_user; -extern const pb_key *const pb_key_user_agent; -extern const pb_key *const pb_key_user_dn; -extern const pb_key *const pb_key_validate_server_cert; -extern const pb_key *const pb_key_value; -extern const pb_key *const pb_key_vary; -extern const pb_key *const pb_key_via; -extern const pb_key *const pb_key_warning; +BASE_DLL extern const pb_key *const pb_key_accept; +BASE_DLL extern const pb_key *const pb_key_accept_charset; +BASE_DLL extern const pb_key *const pb_key_accept_encoding; +BASE_DLL extern const pb_key *const pb_key_accept_language; +BASE_DLL extern const pb_key *const pb_key_accept_ranges; +BASE_DLL extern const pb_key *const pb_key_actual_route; +BASE_DLL extern const pb_key *const pb_key_age; +BASE_DLL extern const pb_key *const pb_key_always_allow_chunked; +BASE_DLL extern const pb_key *const pb_key_always_use_keep_alive; +BASE_DLL extern const pb_key *const pb_key_auth_cert; +BASE_DLL extern const pb_key *const pb_key_auth_expiring; +BASE_DLL extern const pb_key *const pb_key_auth_group; +BASE_DLL extern const pb_key *const pb_key_auth_type; +BASE_DLL extern const pb_key *const pb_key_auth_user; +BASE_DLL extern const pb_key *const pb_key_authorization; +BASE_DLL extern const pb_key *const pb_key_browser; +BASE_DLL extern const pb_key *const pb_key_c2p_cl; +BASE_DLL extern const pb_key *const pb_key_c2p_hl; +BASE_DLL extern const pb_key *const pb_key_cache_info; +BASE_DLL extern const pb_key *const pb_key_charset; +BASE_DLL extern const pb_key *const pb_key_check_http_server; +BASE_DLL extern const pb_key *const pb_key_ChunkedRequestBufferSize; +BASE_DLL extern const pb_key *const pb_key_ChunkedRequestTimeout; +BASE_DLL extern const pb_key *const pb_key_cipher; +BASE_DLL extern const pb_key *const pb_key_clf_request; +BASE_DLL extern const pb_key *const pb_key_cli_status; +BASE_DLL extern const pb_key *const pb_key_client_cert_nickname; +BASE_DLL extern const pb_key *const pb_key_client_ip; +BASE_DLL extern const pb_key *const pb_key_close; +BASE_DLL extern const pb_key *const pb_key_connect_timeout; +BASE_DLL extern const pb_key *const pb_key_connection; +BASE_DLL extern const pb_key *const pb_key_cont; +BASE_DLL extern const pb_key *const pb_key_content_encoding; +BASE_DLL extern const pb_key *const pb_key_content_language; +BASE_DLL extern const pb_key *const pb_key_content_length; +BASE_DLL extern const pb_key *const pb_key_content_location; +BASE_DLL extern const pb_key *const pb_key_content_md5; +BASE_DLL extern const pb_key *const pb_key_content_range; +BASE_DLL extern const pb_key *const pb_key_content_type; +BASE_DLL extern const pb_key *const pb_key_cookie; +BASE_DLL extern const pb_key *const pb_key_date; +BASE_DLL extern const pb_key *const pb_key_DATE_GMT; +BASE_DLL extern const pb_key *const pb_key_DATE_LOCAL; +BASE_DLL extern const pb_key *const pb_key_dir; +BASE_DLL extern const pb_key *const pb_key_Directive; +BASE_DLL extern const pb_key *const pb_key_dns; +BASE_DLL extern const pb_key *const pb_key_DOCUMENT_NAME; +BASE_DLL extern const pb_key *const pb_key_DOCUMENT_URI; +BASE_DLL extern const pb_key *const pb_key_domain; +BASE_DLL extern const pb_key *const pb_key_enc; +BASE_DLL extern const pb_key *const pb_key_engine; +BASE_DLL extern const pb_key *const pb_key_error_action; +BASE_DLL extern const pb_key *const pb_key_error_desc; +BASE_DLL extern const pb_key *const pb_key_error_fn; +BASE_DLL extern const pb_key *const pb_key_escape; +BASE_DLL extern const pb_key *const pb_key_escaped; +BASE_DLL extern const pb_key *const pb_key_etag; +BASE_DLL extern const pb_key *const pb_key_expect; +BASE_DLL extern const pb_key *const pb_key_expires; +BASE_DLL extern const pb_key *const pb_key_expr; +BASE_DLL extern const pb_key *const pb_key_filter; +BASE_DLL extern const pb_key *const pb_key_find_pathinfo_forward; +BASE_DLL extern const pb_key *const pb_key_flushTimer; +BASE_DLL extern const pb_key *const pb_key_fn; +BASE_DLL extern const pb_key *const pb_key_from; +BASE_DLL extern const pb_key *const pb_key_full_headers; +BASE_DLL extern const pb_key *const pb_key_hdr; +BASE_DLL extern const pb_key *const pb_key_host; +BASE_DLL extern const pb_key *const pb_key_hostname; +BASE_DLL extern const pb_key *const pb_key_if_match; +BASE_DLL extern const pb_key *const pb_key_if_modified_since; +BASE_DLL extern const pb_key *const pb_key_if_none_match; +BASE_DLL extern const pb_key *const pb_key_if_range; +BASE_DLL extern const pb_key *const pb_key_if_unmodified_since; +BASE_DLL extern const pb_key *const pb_key_ip; +BASE_DLL extern const pb_key *const pb_key_iponly; +BASE_DLL extern const pb_key *const pb_key_issuer_dn; +BASE_DLL extern const pb_key *const pb_key_jroute; +BASE_DLL extern const pb_key *const pb_key_keep_alive; +BASE_DLL extern const pb_key *const pb_key_keep_alive_timeout; +BASE_DLL extern const pb_key *const pb_key_keysize; +BASE_DLL extern const pb_key *const pb_key_lang; +BASE_DLL extern const pb_key *const pb_key_LAST_MODIFIED; +BASE_DLL extern const pb_key *const pb_key_last_modified; +BASE_DLL extern const pb_key *const pb_key_level; +BASE_DLL extern const pb_key *const pb_key_location; +BASE_DLL extern const pb_key *const pb_key_lock_owner; +BASE_DLL extern const pb_key *const pb_key_magnus_charset; +BASE_DLL extern const pb_key *const pb_key_magnus_internal; +BASE_DLL extern const pb_key *const pb_key_magnus_internal_dav_src; +BASE_DLL extern const pb_key *const pb_key_magnus_internal_default_acls_only; +BASE_DLL extern const pb_key *const pb_key_magnus_internal_error_j2ee; +BASE_DLL extern const pb_key *const pb_key_magnus_internal_j2ee_nsapi; +BASE_DLL extern const pb_key *const pb_key_magnus_internal_preserve_srvhdrs; +BASE_DLL extern const pb_key *const pb_key_magnus_internal_set_request_status; +BASE_DLL extern const pb_key *const pb_key_magnus_internal_set_response_status; +BASE_DLL extern const pb_key *const pb_key_magnus_internal_webapp_errordesc; +BASE_DLL extern const pb_key *const pb_key_matched_browser; +BASE_DLL extern const pb_key *const pb_key_max_age; +BASE_DLL extern const pb_key *const pb_key_max_forwards; +BASE_DLL extern const pb_key *const pb_key_message; +BASE_DLL extern const pb_key *const pb_key_method; +BASE_DLL extern const pb_key *const pb_key_name; +BASE_DLL extern const pb_key *const pb_key_nocache; +BASE_DLL extern const pb_key *const pb_key_nostat; +BASE_DLL extern const pb_key *const pb_key_ntrans_base; +BASE_DLL extern const pb_key *const pb_key_offline_origin_addr; +BASE_DLL extern const pb_key *const pb_key_offline_proxy_addr; +BASE_DLL extern const pb_key *const pb_key_origin_addr; +BASE_DLL extern const pb_key *const pb_key_p2c_cl; +BASE_DLL extern const pb_key *const pb_key_p2c_hl; +BASE_DLL extern const pb_key *const pb_key_p2r_cl; +BASE_DLL extern const pb_key *const pb_key_p2r_hl; +BASE_DLL extern const pb_key *const pb_key_parse_timeout; +BASE_DLL extern const pb_key *const pb_key_password; +BASE_DLL extern const pb_key *const pb_key_path; +BASE_DLL extern const pb_key *const pb_key_PATH_INFO; +BASE_DLL extern const pb_key *const pb_key_path_info; +BASE_DLL extern const pb_key *const pb_key_pblock; +BASE_DLL extern const pb_key *const pb_key_poll_interval; +BASE_DLL extern const pb_key *const pb_key_pool; // new +BASE_DLL extern const pb_key *const pb_key_port; +BASE_DLL extern const pb_key *const pb_key_ppath; +BASE_DLL extern const pb_key *const pb_key_pragma; +BASE_DLL extern const pb_key *const pb_key_process_request_body; +BASE_DLL extern const pb_key *const pb_key_process_response_body; +BASE_DLL extern const pb_key *const pb_key_protocol; +BASE_DLL extern const pb_key *const pb_key_proxy_addr; +BASE_DLL extern const pb_key *const pb_key_proxy_agent; +BASE_DLL extern const pb_key *const pb_key_proxy_auth_cert; +BASE_DLL extern const pb_key *const pb_key_proxy_authorization; +BASE_DLL extern const pb_key *const pb_key_proxy_cipher; +BASE_DLL extern const pb_key *const pb_key_proxy_issuer_dn; +BASE_DLL extern const pb_key *const pb_key_proxy_jroute; +BASE_DLL extern const pb_key *const pb_key_proxy_keysize; +BASE_DLL extern const pb_key *const pb_key_proxy_ping; +BASE_DLL extern const pb_key *const pb_key_proxy_request; +BASE_DLL extern const pb_key *const pb_key_proxy_secret_keysize; +BASE_DLL extern const pb_key *const pb_key_proxy_ssl_id; +BASE_DLL extern const pb_key *const pb_key_proxy_user_dn; +BASE_DLL extern const pb_key *const pb_key_query; +BASE_DLL extern const pb_key *const pb_key_QUERY_STRING; +BASE_DLL extern const pb_key *const pb_key_QUERY_STRING_UNESCAPED; +BASE_DLL extern const pb_key *const pb_key_r2p_cl; +BASE_DLL extern const pb_key *const pb_key_r2p_hl; +BASE_DLL extern const pb_key *const pb_key_range; +BASE_DLL extern const pb_key *const pb_key_referer; +BASE_DLL extern const pb_key *const pb_key_reformat_request_headers; +BASE_DLL extern const pb_key *const pb_key_remote_status; +BASE_DLL extern const pb_key *const pb_key_request_jroute; +BASE_DLL extern const pb_key *const pb_key_required_rights; +BASE_DLL extern const pb_key *const pb_key_retries; +BASE_DLL extern const pb_key *const pb_key_rewrite_content_location; +BASE_DLL extern const pb_key *const pb_key_rewrite_host; +BASE_DLL extern const pb_key *const pb_key_rewrite_location; +BASE_DLL extern const pb_key *const pb_key_rewrite_set_cookie; +BASE_DLL extern const pb_key *const pb_key_root; +BASE_DLL extern const pb_key *const pb_key_route; +BASE_DLL extern const pb_key *const pb_key_route_cookie; +BASE_DLL extern const pb_key *const pb_key_route_hdr; +BASE_DLL extern const pb_key *const pb_key_route_offline; +BASE_DLL extern const pb_key *const pb_key_script_name; +BASE_DLL extern const pb_key *const pb_key_secret_keysize; +BASE_DLL extern const pb_key *const pb_key_secure; +BASE_DLL extern const pb_key *const pb_key_server; +BASE_DLL extern const pb_key *const pb_key_set_cookie; +BASE_DLL extern const pb_key *const pb_key_socks_addr; +BASE_DLL extern const pb_key *const pb_key_ssl_id; +BASE_DLL extern const pb_key *const pb_key_ssl_unclean_shutdown; +BASE_DLL extern const pb_key *const pb_key_status; +BASE_DLL extern const pb_key *const pb_key_sticky_cookie; +BASE_DLL extern const pb_key *const pb_key_sticky_param; +BASE_DLL extern const pb_key *const pb_key_suppress_request_headers; +BASE_DLL extern const pb_key *const pb_key_svr_status; +BASE_DLL extern const pb_key *const pb_key_timeout; +BASE_DLL extern const pb_key *const pb_key_to; +BASE_DLL extern const pb_key *const pb_key_transfer_encoding; +BASE_DLL extern const pb_key *const pb_key_transmit_timeout; +BASE_DLL extern const pb_key *const pb_key_tunnel_non_http_response; +BASE_DLL extern const pb_key *const pb_key_type; +BASE_DLL extern const pb_key *const pb_key_upstream_jroute; +BASE_DLL extern const pb_key *const pb_key_uri; +BASE_DLL extern const pb_key *const pb_key_url; +BASE_DLL extern const pb_key *const pb_key_url_prefix; +BASE_DLL extern const pb_key *const pb_key_UseOutputStreamSize; +BASE_DLL extern const pb_key *const pb_key_user; +BASE_DLL extern const pb_key *const pb_key_user_agent; +BASE_DLL extern const pb_key *const pb_key_user_dn; +BASE_DLL extern const pb_key *const pb_key_validate_server_cert; +BASE_DLL extern const pb_key *const pb_key_value; +BASE_DLL extern const pb_key *const pb_key_vary; +BASE_DLL extern const pb_key *const pb_key_via; +BASE_DLL extern const pb_key *const pb_key_warning; NSAPI_PUBLIC pool_handle_t *pblock_pool(pblock *pb);