* @return The content-type
* @deffunc const char *ap_make_content_type(request_rec *r, const char *type);
*/
-AP_DECLARE(const char *) ap_make_content_type(request_rec *r, const char *type);
+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 r The pool to use for allocations
+ * @deffunc void ap_setup_make_content_type(apr_pool_t *pool)
+ */
+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
return APR_SUCCESS;
}
-AP_DECLARE(void) ap_setup_make_content_type(apr_pool_t *pool);
-
static int core_post_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s)
{
ap_set_version(pconf);