@@ -2709,7 +2709,7 @@ AP_INIT_RAW_ARGS("<LocationMatch", urlsection, (void*)1, RSRC_CONF,
27092709AP_INIT_RAW_ARGS ("<FilesMatch" , filesection , (void * )1 , OR_ALL ,
27102710 "Container for directives affecting files matching specified patterns" ),
27112711AP_INIT_TAKE1 ("AuthType" , ap_set_string_slot ,
2712- (void * )XtOffsetOf (core_dir_config , ap_auth_type ), OR_AUTHCFG ,
2712+ (void * )APR_XtOffsetOf (core_dir_config , ap_auth_type ), OR_AUTHCFG ,
27132713 "An HTTP authorization type (e.g., \"Basic\")" ),
27142714AP_INIT_TAKE1 ("AuthName" , set_authname , NULL , OR_AUTHCFG ,
27152715 "The authentication realm (e.g. \"Members Only\")" ),
@@ -2738,7 +2738,7 @@ AP_INIT_RAW_ARGS("AllowOverride", set_override, NULL, ACCESS_CONF,
27382738AP_INIT_RAW_ARGS ("Options" , set_options , NULL , OR_OPTIONS ,
27392739 "Set a number of attributes for a given directory" ),
27402740AP_INIT_TAKE1 ("DefaultType" , ap_set_string_slot ,
2741- (void * )XtOffsetOf (core_dir_config , ap_default_type ),
2741+ (void * )APR_XtOffsetOf (core_dir_config , ap_default_type ),
27422742 OR_FILEINFO , "the default MIME type for untypable files" ),
27432743
27442744/* Old server config file commands */
@@ -2749,17 +2749,17 @@ AP_INIT_TAKE1("HostnameLookups", set_hostname_lookups, NULL,
27492749 "\"on\" to enable, \"off\" to disable reverse DNS lookups, or \"double\" to "
27502750 "enable double-reverse DNS lookups" ),
27512751AP_INIT_TAKE1 ("ServerAdmin" , set_server_string_slot ,
2752- (void * )XtOffsetOf (server_rec , server_admin ), RSRC_CONF ,
2752+ (void * )APR_XtOffsetOf (server_rec , server_admin ), RSRC_CONF ,
27532753 "The email address of the server administrator" ),
27542754AP_INIT_TAKE1 ("ServerName" , set_server_string_slot ,
2755- (void * )XtOffsetOf (server_rec , server_hostname ), RSRC_CONF ,
2755+ (void * )APR_XtOffsetOf (server_rec , server_hostname ), RSRC_CONF ,
27562756 "The hostname of the server" ),
27572757AP_INIT_TAKE1 ("ServerSignature" , set_signature_flag , NULL , OR_ALL ,
27582758 "En-/disable server signature (on|off|email)" ),
27592759AP_INIT_TAKE1 ("ServerRoot" , set_server_root , NULL , RSRC_CONF ,
27602760 "Common directory of server-related files (logs, confs, etc.)" ),
27612761AP_INIT_TAKE1 ("ErrorLog" , set_server_string_slot ,
2762- (void * )XtOffsetOf (server_rec , error_fname ), RSRC_CONF ,
2762+ (void * )APR_XtOffsetOf (server_rec , error_fname ), RSRC_CONF ,
27632763 "The filename of the error log" ),
27642764AP_INIT_RAW_ARGS ("ServerAlias" , set_server_alias , NULL , RSRC_CONF ,
27652765 "A name or names alternately used to access the server" ),
@@ -2802,7 +2802,7 @@ AP_INIT_TAKE1("LimitRequestFieldsize", set_limit_req_fieldsize, NULL,
28022802AP_INIT_TAKE1 ("LimitRequestFields" , set_limit_req_fields , NULL , RSRC_CONF ,
28032803 "Limit (0 = unlimited) on max number of header fields in a request message" ),
28042804AP_INIT_TAKE1 ("LimitRequestBody" , set_limit_req_body ,
2805- (void * )XtOffsetOf (core_dir_config , limit_req_body ), OR_ALL ,
2805+ (void * )APR_XtOffsetOf (core_dir_config , limit_req_body ), OR_ALL ,
28062806 "Limit (in bytes) on maximum size of request message body" ),
28072807AP_INIT_TAKE1 ("LimitXMLRequestBody" , set_limit_xml_req_body , NULL , OR_ALL ,
28082808 "Limit (in bytes) on maximum size of an XML-based request "
@@ -2811,23 +2811,23 @@ AP_INIT_TAKE1("LimitXMLRequestBody", set_limit_xml_req_body, NULL, OR_ALL,
28112811/* System Resource Controls */
28122812#ifdef RLIMIT_CPU
28132813AP_INIT_TAKE12 ("RLimitCPU" , set_limit_cpu ,
2814- (void * )XtOffsetOf (core_dir_config , limit_cpu ),
2814+ (void * )APR_XtOffsetOf (core_dir_config , limit_cpu ),
28152815 OR_ALL , "Soft/hard limits for max CPU usage in seconds" ),
28162816#else
28172817AP_INIT_TAKE12 ("RLimitCPU" , no_set_limit , NULL ,
28182818 OR_ALL , "Soft/hard limits for max CPU usage in seconds" ),
28192819#endif
28202820#if defined (RLIMIT_DATA ) || defined (RLIMIT_VMEM ) || defined (RLIMIT_AS )
28212821AP_INIT_TAKE12 ("RLimitMEM" , set_limit_mem ,
2822- (void * )XtOffsetOf (core_dir_config , limit_mem ),
2822+ (void * )APR_XtOffsetOf (core_dir_config , limit_mem ),
28232823 OR_ALL , "Soft/hard limits for max memory usage per process" ),
28242824#else
28252825AP_INIT_TAKE12 ("RLimitMEM" , no_set_limit , NULL ,
28262826 OR_ALL , "Soft/hard limits for max memory usage per process" ),
28272827#endif
28282828#ifdef RLIMIT_NPROC
28292829AP_INIT_TAKE12 ("RLimitNPROC" , set_limit_nproc ,
2830- (void * )XtOffsetOf (core_dir_config , limit_nproc ),
2830+ (void * )APR_XtOffsetOf (core_dir_config , limit_nproc ),
28312831 OR_ALL , "soft/hard limits for max number of processes per uid" ),
28322832#else
28332833AP_INIT_TAKE12 ("RLimitNPROC" , no_set_limit , NULL ,
0 commit comments