* @return An error string or NULL on success
* @deffunc const char *ap_set_string_slot(cmd_parms *cmd, void *struct_ptr, const char *arg)
*/
-AP_DECLARE_NONSTD(const char *) ap_set_string_slot(cmd_parms *, void *,
- const char *);
+AP_DECLARE_NONSTD(const char *) ap_set_string_slot(cmd_parms *cmd, void *struct_ptr,
+ const char *arg);
/**
* Return true if the specified method is limited by being listed in
* @return An error string or NULL on success
* @deffunc const char *ap_set_string_slot_lower(cmd_parms *cmd, void *struct_ptr, const char *arg)
*/
-AP_DECLARE_NONSTD(const char *) ap_set_string_slot_lower(cmd_parms *,
- void *, const char *);
+AP_DECLARE_NONSTD(const char *) ap_set_string_slot_lower(cmd_parms *cmd,
+ void *struct_ptr, const char *arg);
/**
* Generic command handling function for flags
* @param cmd The command parameters for this directive
* @return An error string or NULL on success
* @deffunc const char *ap_set_flag_slot(cmd_parms *cmd, void *struct_ptr, int arg)
*/
-AP_DECLARE_NONSTD(const char *) ap_set_flag_slot(cmd_parms *, void *, int);
+AP_DECLARE_NONSTD(const char *) ap_set_flag_slot(cmd_parms *cmd, void *struct_ptr, int arg);
/**
* Generic command handling function for files
* @param cmd The command parameters for this directive
* @return An error string or NULL on success
* @deffunc const char *ap_set_file_slot(cmd_parms *cmd, void *struct_ptr, const char *arg)
*/
-AP_DECLARE_NONSTD(const char *) ap_set_file_slot(cmd_parms *, void *, const char *);
+AP_DECLARE_NONSTD(const char *) ap_set_file_slot(cmd_parms *cmd, void *struct_ptr, const char *arg);
/**
* For modules which need to read config files, open logs, etc. ...
* @param name the name of the file to open
* @deffunc apr_status_t ap_pcfg_openfile(configfile_t **ret_cfg, apr_pool_t *p, const char *name)
*/
-AP_DECLARE(apr_status_t) ap_pcfg_openfile(configfile_t **, apr_pool_t *p, const char *name);
+AP_DECLARE(apr_status_t) ap_pcfg_openfile(configfile_t **ret_cfg, apr_pool_t *p, const char *name);
/**
* Allocate a configfile_t handle with user defined functions and params
* @return OK or DECLINED
* @deffunc int ap_run_header_parser(request_rec *r)
*/
-AP_DECLARE_HOOK(int,header_parser,(request_rec *))
+AP_DECLARE_HOOK(int,header_parser,(request_rec *r))
/**
* Run the pre_config function for each module
* @tip non-wildcard handlers should HOOK_MIDDLE, wildcard HOOK_LAST
* @deffunc void ap_run_handler(request_rec *r)
*/
-AP_DECLARE_HOOK(int,handler,(request_rec *))
+AP_DECLARE_HOOK(int,handler,(request_rec *r))
/**
* Retrieve the optional functions for each module.
* @return OK or DECLINED
* @deffunc int ap_run_pre_connection(conn_rec *c)
*/
-AP_DECLARE_HOOK(int,pre_connection,(conn_rec *))
+AP_DECLARE_HOOK(int,pre_connection,(conn_rec *c))
/**
* This hook implements different protocols. After a connection has been
* @return OK or DECLINED
* @deffunc int ap_run_process_connection(conn_rec *c)
*/
-AP_DECLARE_HOOK(int,process_connection,(conn_rec *))
+AP_DECLARE_HOOK(int,process_connection,(conn_rec *c))
#ifdef __cplusplus
}
* @return the Options bitmask
* @deffunc int ap_allow_options(request_rec *r)
*/
-AP_DECLARE(int) ap_allow_options (request_rec *);
+AP_DECLARE(int) ap_allow_options (request_rec *r);
/**
* Retrieve the value of the AllowOverride for this request
* @param r The current request
* @return the overrides bitmask
* @deffunc int ap_allow_overrides(request_rec *r)
*/
-AP_DECLARE(int) ap_allow_overrides (request_rec *);
+AP_DECLARE(int) ap_allow_overrides (request_rec *r);
/**
* Retrieve the value of the DefaultType directive, or text/plain if not set
* @param r The current request
* @return The default type
* @deffunc const char *ap_default_type(request_rec *r)
*/
-AP_DECLARE(const char *) ap_default_type (request_rec *);
+AP_DECLARE(const char *) ap_default_type (request_rec *r);
/**
* Retrieve the document root for this server
* @param r The current request
* @return The document root
* @deffunc const char *ap_document_root(request_rec *r)
*/
-AP_DECLARE(const char *) ap_document_root (request_rec *);
+AP_DECLARE(const char *) ap_document_root (request_rec *r);
/**
* Lookup the remote client's DNS name or IP address
* @param conn The current connection
* @return The authorization required
* @deffunc const char *ap_auth_type(request_rec *r)
*/
-AP_DECLARE(const char *) ap_auth_type (request_rec *);
+AP_DECLARE(const char *) ap_auth_type (request_rec *r);
/**
* Return the current Authorization realm
* @param r The current request
* @return The current authorization realm
* @deffunc const char *ap_auth_name(request_rec *r)
*/
-AP_DECLARE(const char *) ap_auth_name (request_rec *);
+AP_DECLARE(const char *) ap_auth_name (request_rec *r);
/**
* How the requires lines must be met.
* @param r The current request
* @return An array of all requires directives for this request
* @deffunc const apr_array_header_t *ap_requires(request_rec *r)
*/
-AP_DECLARE(const apr_array_header_t *) ap_requires (request_rec *);
+AP_DECLARE(const apr_array_header_t *) ap_requires (request_rec *r);
#if defined(WIN32)
/*
* @param s The current server
* @deffunc void ap_error_log2stderr(server_rec *s)
*/
-AP_DECLARE(void) ap_error_log2stderr (server_rec *);
+AP_DECLARE(void) ap_error_log2stderr (server_rec *s);
/**
* Log the current pid of the parent process
* @param pl The piped log structure
* @deffunc void ap_close_piped_log(piped_log *pl)
*/
-AP_DECLARE(void) ap_close_piped_log (piped_log *);
+AP_DECLARE(void) ap_close_piped_log (piped_log *pl);
/**
* A macro to access the read side of the piped log pipe
* @return OK or DECLINED
* @deffunc ap_run_post_read_request(request_rec *r)
*/
-AP_DECLARE_HOOK(int,post_read_request,(request_rec *))
+AP_DECLARE_HOOK(int,post_read_request,(request_rec *r))
/**
* This hook allows modules to perform any module-specific logging activities
* over and above the normal server things.
* @return OK, DECLINED, or HTTP_...
* @deffunc int ap_run_log_transaction(request_rec *r)
*/
-AP_DECLARE_HOOK(int,log_transaction,(request_rec *))
+AP_DECLARE_HOOK(int,log_transaction,(request_rec *r))
/**
* This hook allows modules to retrieve the http method from a request. This
* allows Apache modules to easily extend the methods that Apache understands
* @return The http method from the request
* @deffunc const char *ap_run_http_method(const request_rec *r)
*/
-AP_DECLARE_HOOK(const char *,http_method,(const request_rec *))
+AP_DECLARE_HOOK(const char *,http_method,(const request_rec *r))
/**
* Return the default port from the current request
* @param r The current request
* @return The current port
* @deffunc apr_port_t ap_run_default_port(const request_rec *r)
*/
-AP_DECLARE_HOOK(apr_port_t,default_port,(const request_rec *))
+AP_DECLARE_HOOK(apr_port_t,default_port,(const request_rec *r))
typedef struct ap_bucket_error ap_bucket_error;
/**
* @return OK, DECLINED, or HTTP_...
* @deffunc int ap_run_translate_name(request_rec *r)
*/
-AP_DECLARE_HOOK(int,translate_name,(request_rec *))
+AP_DECLARE_HOOK(int,translate_name,(request_rec *r))
/**
* This hook allows modules to check the authentication information sent with
* @return OK, DECLINED, or HTTP_...
* @deffunc int ap_run_check_user_id(request_rec *r)
*/
-AP_DECLARE_HOOK(int,check_user_id,(request_rec *))
+AP_DECLARE_HOOK(int,check_user_id,(request_rec *r))
/**
* Allows modules to perform module-specific fixing of header fields. This
* @return OK, DECLINED, or HTTP_...
* @deffunc int ap_run_fixups(request_rec *r)
*/
-AP_DECLARE_HOOK(int,fixups,(request_rec *))
+AP_DECLARE_HOOK(int,fixups,(request_rec *r))
/**
* This routine is called to determine and/or set the various document type
* @return OK, DECLINED, or HTTP_...
* @deffunc int ap_run_type_checker(request_rec *r)
*/
-AP_DECLARE_HOOK(int,type_checker,(request_rec *))
+AP_DECLARE_HOOK(int,type_checker,(request_rec *r))
/**
* This routine is called to check for any module-specific restrictions placed
* @return OK, DECLINED, or HTTP_...
* @deffunc int ap_run_access_checker(request_rec *r)
*/
-AP_DECLARE_HOOK(int,access_checker,(request_rec *))
+AP_DECLARE_HOOK(int,access_checker,(request_rec *r))
/**
* This routine is called to check to see if the resource being requested
* @return OK, DECLINED, or HTTP_...
* @deffunc int ap_run_auth_checker(request_rec *r)
*/
-AP_DECLARE_HOOK(int,auth_checker,(request_rec *))
+AP_DECLARE_HOOK(int,auth_checker,(request_rec *r))
/**
* This hook allows modules to insert filters for the current request
* @param r the current request
* @deffunc void ap_run_insert_filter(request_rec *r)
*/
-AP_DECLARE_HOOK(void,insert_filter,(request_rec *))
+AP_DECLARE_HOOK(void,insert_filter,(request_rec *r))
#ifdef __cplusplus
}