@@ -2865,7 +2865,7 @@ AP_INIT_RAW_ARGS("<LocationMatch", urlsection, (void*)1, RSRC_CONF,
28652865AP_INIT_RAW_ARGS ("<FilesMatch" , filesection , (void * )1 , OR_ALL ,
28662866 "Container for directives affecting files matching specified patterns" ),
28672867AP_INIT_TAKE1 ("AuthType" , ap_set_string_slot ,
2868- (void * )APR_XtOffsetOf (core_dir_config , ap_auth_type ), OR_AUTHCFG ,
2868+ (void * )APR_OFFSETOF (core_dir_config , ap_auth_type ), OR_AUTHCFG ,
28692869 "An HTTP authorization type (e.g., \"Basic\")" ),
28702870AP_INIT_TAKE1 ("AuthName" , set_authname , NULL , OR_AUTHCFG ,
28712871 "The authentication realm (e.g. \"Members Only\")" ),
@@ -2896,7 +2896,7 @@ AP_INIT_RAW_ARGS("AllowOverride", set_override, NULL, ACCESS_CONF,
28962896AP_INIT_RAW_ARGS ("Options" , set_options , NULL , OR_OPTIONS ,
28972897 "Set a number of attributes for a given directory" ),
28982898AP_INIT_TAKE1 ("DefaultType" , ap_set_string_slot ,
2899- (void * )APR_XtOffsetOf (core_dir_config , ap_default_type ),
2899+ (void * )APR_OFFSETOF (core_dir_config , ap_default_type ),
29002900 OR_FILEINFO , "the default MIME type for untypable files" ),
29012901AP_INIT_RAW_ARGS ("FileETag" , set_etag_bits , NULL , OR_FILEINFO ,
29022902 "Specify components used to construct a file's ETag" ),
@@ -2912,7 +2912,7 @@ AP_INIT_TAKE1("HostnameLookups", set_hostname_lookups, NULL,
29122912 "\"on\" to enable, \"off\" to disable reverse DNS lookups, or \"double\" to "
29132913 "enable double-reverse DNS lookups" ),
29142914AP_INIT_TAKE1 ("ServerAdmin" , set_server_string_slot ,
2915- (void * )APR_XtOffsetOf (server_rec , server_admin ), RSRC_CONF ,
2915+ (void * )APR_OFFSETOF (server_rec , server_admin ), RSRC_CONF ,
29162916 "The email address of the server administrator" ),
29172917AP_INIT_TAKE1 ("ServerName" , server_hostname_port , NULL , RSRC_CONF ,
29182918 "The hostname and port of the server" ),
@@ -2921,7 +2921,7 @@ AP_INIT_TAKE1("ServerSignature", set_signature_flag, NULL, OR_ALL,
29212921AP_INIT_TAKE1 ("ServerRoot" , set_server_root , NULL , RSRC_CONF | EXEC_ON_READ ,
29222922 "Common directory of server-related files (logs, confs, etc.)" ),
29232923AP_INIT_TAKE1 ("ErrorLog" , set_server_string_slot ,
2924- (void * )APR_XtOffsetOf (server_rec , error_fname ), RSRC_CONF | EXEC_ON_READ ,
2924+ (void * )APR_OFFSETOF (server_rec , error_fname ), RSRC_CONF | EXEC_ON_READ ,
29252925 "The filename of the error log" ),
29262926AP_INIT_RAW_ARGS ("ServerAlias" , set_server_alias , NULL , RSRC_CONF ,
29272927 "A name or names alternately used to access the server" ),
@@ -2959,7 +2959,7 @@ AP_INIT_TAKE1("LimitRequestFieldsize", set_limit_req_fieldsize, NULL,
29592959AP_INIT_TAKE1 ("LimitRequestFields" , set_limit_req_fields , NULL , RSRC_CONF ,
29602960 "Limit (0 = unlimited) on max number of header fields in a request message" ),
29612961AP_INIT_TAKE1 ("LimitRequestBody" , set_limit_req_body ,
2962- (void * )APR_XtOffsetOf (core_dir_config , limit_req_body ), OR_ALL ,
2962+ (void * )APR_OFFSETOF (core_dir_config , limit_req_body ), OR_ALL ,
29632963 "Limit (in bytes) on maximum size of request message body" ),
29642964AP_INIT_TAKE1 ("LimitXMLRequestBody" , set_limit_xml_req_body , NULL , OR_ALL ,
29652965 "Limit (in bytes) on maximum size of an XML-based request "
@@ -2968,43 +2968,43 @@ AP_INIT_TAKE1("LimitXMLRequestBody", set_limit_xml_req_body, NULL, OR_ALL,
29682968/* System Resource Controls */
29692969#ifdef RLIMIT_CPU
29702970AP_INIT_TAKE12 ("RLimitCPU" , set_limit_cpu ,
2971- (void * )APR_XtOffsetOf (core_dir_config , limit_cpu ),
2971+ (void * )APR_OFFSETOF (core_dir_config , limit_cpu ),
29722972 OR_ALL , "Soft/hard limits for max CPU usage in seconds" ),
29732973#else
29742974AP_INIT_TAKE12 ("RLimitCPU" , no_set_limit , NULL ,
29752975 OR_ALL , "Soft/hard limits for max CPU usage in seconds" ),
29762976#endif
29772977#if defined (RLIMIT_DATA ) || defined (RLIMIT_VMEM ) || defined (RLIMIT_AS )
29782978AP_INIT_TAKE12 ("RLimitMEM" , set_limit_mem ,
2979- (void * )APR_XtOffsetOf (core_dir_config , limit_mem ),
2979+ (void * )APR_OFFSETOF (core_dir_config , limit_mem ),
29802980 OR_ALL , "Soft/hard limits for max memory usage per process" ),
29812981#else
29822982AP_INIT_TAKE12 ("RLimitMEM" , no_set_limit , NULL ,
29832983 OR_ALL , "Soft/hard limits for max memory usage per process" ),
29842984#endif
29852985#ifdef RLIMIT_NPROC
29862986AP_INIT_TAKE12 ("RLimitNPROC" , set_limit_nproc ,
2987- (void * )APR_XtOffsetOf (core_dir_config , limit_nproc ),
2987+ (void * )APR_OFFSETOF (core_dir_config , limit_nproc ),
29882988 OR_ALL , "soft/hard limits for max number of processes per uid" ),
29892989#else
29902990AP_INIT_TAKE12 ("RLimitNPROC" , no_set_limit , NULL ,
29912991 OR_ALL , "soft/hard limits for max number of processes per uid" ),
29922992#endif
29932993
29942994AP_INIT_TAKE1 ("ForceType" , ap_set_string_slot_lower ,
2995- (void * )APR_XtOffsetOf (core_dir_config , mime_type ), OR_FILEINFO ,
2995+ (void * )APR_OFFSETOF (core_dir_config , mime_type ), OR_FILEINFO ,
29962996 "a mime type that overrides other configured type" ),
29972997AP_INIT_TAKE1 ("SetHandler" , ap_set_string_slot_lower ,
2998- (void * )APR_XtOffsetOf (core_dir_config , handler ), OR_FILEINFO ,
2998+ (void * )APR_OFFSETOF (core_dir_config , handler ), OR_FILEINFO ,
29992999 "a handler name that overrides any other configured handler" ),
30003000AP_INIT_TAKE1 ("SetOutputFilter" , ap_set_string_slot ,
3001- (void * )APR_XtOffsetOf (core_dir_config , output_filters ), OR_FILEINFO ,
3001+ (void * )APR_OFFSETOF (core_dir_config , output_filters ), OR_FILEINFO ,
30023002 "filter (or ; delimited list of filters) to be run on the request content" ),
30033003AP_INIT_TAKE1 ("SetInputFilter" , ap_set_string_slot ,
3004- (void * )APR_XtOffsetOf (core_dir_config , input_filters ), OR_FILEINFO ,
3004+ (void * )APR_OFFSETOF (core_dir_config , input_filters ), OR_FILEINFO ,
30053005 "filter (or ; delimited list of filters) to be run on the request body" ),
30063006AP_INIT_ITERATE2 ("AddOutputFilterByType" , add_ct_output_filters ,
3007- (void * )APR_XtOffsetOf (core_dir_config , ct_output_filters ), OR_FILEINFO ,
3007+ (void * )APR_OFFSETOF (core_dir_config , ct_output_filters ), OR_FILEINFO ,
30083008 "output filter name followed by one or more content-types" ),
30093009
30103010/*
0 commit comments