summaryrefslogtreecommitdiff
path: root/include/http_core.h
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2014-02-07 13:54:38 +0000
committerJim Jagielski <jim@apache.org>2014-02-07 13:54:38 +0000
commitb1225679551516d5e6d41cec77be982e2bb36805 (patch)
tree632f494e1c8b4e5ff625745b51d98b7fe08ddd86 /include/http_core.h
parentcbf68b7f99143a8aef1291a692bccf5c6c49842d (diff)
downloadhttpd-b1225679551516d5e6d41cec77be982e2bb36805.tar.gz
Add in the concept of "slave" connections...
Allows for several "connections" all resulting in a single real connection that talks to the network. Right now, nothing uses this though. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1565657 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_core.h')
-rw-r--r--include/http_core.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/http_core.h b/include/http_core.h
index 47cd98fb45..337859ba05 100644
--- a/include/http_core.h
+++ b/include/http_core.h
@@ -1036,6 +1036,15 @@ AP_DECLARE(int) ap_state_query(int query_code);
/** only dump some parts of the config */
#define AP_SQ_RM_CONFIG_DUMP 4
+
+/* ---------------------------------------------------------------------- */
+
+/** Create a slave connection
+ * @param c The connection to create the slave connection from/for
+ * @return The slave connection
+ */
+AP_CORE_DECLARE(conn_rec *) ap_create_slave_connection(conn_rec *c);
+
#ifdef __cplusplus
}
#endif