This define serves no modern purpose, since every module in the wild, including
our own define it, for no purpose.
If you have functions which you do not want in the 'public' API, put them
in a private header, that is not installed, just like mod_ssl does.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645412
13f79535-47bb-0310-9956-
ffa450edef68
/** @} */
-#ifdef CORE_PRIVATE
-
/**
* @brief This structure is used to assign symbol names to module pointers
*/
const char *section,
module *mod, apr_pool_t *pconf);
-#endif
-
/* Hooks */
/**
* @brief Apache connection library
*/
-#ifdef CORE_PRIVATE
/**
* This is the protocol module driver. This calls all of the
* pre-connection and connection hooks for all protocol modules.
* @param c The connection we are closing
*/
AP_DECLARE(void) ap_lingering_close(conn_rec *c);
-#endif
/* Hooks */
/**
*/
AP_DECLARE(int) ap_satisfies(request_rec *r);
-#ifdef CORE_PRIVATE
-
/**
* Core is also unlike other modules in being implemented in more than
* one file... so, data structures are declared here, even though most of
apr_off_t readbytes);
apr_status_t ap_core_output_filter(ap_filter_t *f, apr_bucket_brigade *b);
-#endif /* CORE_PRIVATE */
AP_DECLARE(const char*) ap_get_server_protocol(server_rec* s);
AP_DECLARE(void) ap_set_server_protocol(server_rec* s, const char* proto);
int ap_open_logs(apr_pool_t *pconf, apr_pool_t *plog,
apr_pool_t *ptemp, server_rec *s_main);
-#ifdef CORE_PRIVATE
-
/**
* Perform special processing for piped loggers in MPM child
* processes.
*/
void ap_logs_child_init(apr_pool_t *p, server_rec *s);
-#endif /* CORE_PRIVATE */
-
/*
* The primary logging functions, ap_log_error, ap_log_rerror, ap_log_cerror,
* and ap_log_perror use a printf style format string to build the log message.
AP_DECLARE(const char *) ap_make_content_type(request_rec *r,
const char *type);
-#ifdef CORE_PRIVATE
/**
* Precompile metadata structures used by ap_make_content_type()
* @param pool The pool to use for allocations
*/
AP_DECLARE(void) ap_setup_make_content_type(apr_pool_t *pool);
-#endif /* CORE_PRIVATE */
/**
* Construct an entity tag from the resource information. If it's a real
#define MERGE_ALLOW 0
#define REPLACE_ALLOW 1
-#ifdef CORE_PRIVATE
/**
* Process a top-level request from a client, and synchronously write
* the response to the client
* @param r The current request
*/
AP_DECLARE(void) ap_die(int type, request_rec *r);
-#endif
/* Hooks */
extern "C" {
#endif
-#ifdef CORE_PRIVATE
-
/* ----------------------------- config dir ------------------------------ */
/** Define this to be the default server home dir. Most things later in this
*/
#define DEFAULT_ADD_DEFAULT_CHARSET_NAME "iso-8859-1"
-#endif /* CORE_PRIVATE */
-
/** default HTTP Server protocol */
#define AP_SERVER_PROTOCOL "HTTP/1.1"