summaryrefslogtreecommitdiff
path: root/include/arch/unix/networkio.h
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2001-07-16 16:11:05 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2001-07-16 16:11:05 +0000
commit0ae8a25e10d3e204cd9c0a4e2337e54c6f2bda76 (patch)
tree886c25dacc1462ca312253fd18f05fe3c616ce37 /include/arch/unix/networkio.h
parent7d25c418141c496633f6552912298b690b31fcf4 (diff)
downloadlibapr-0ae8a25e10d3e204cd9c0a4e2337e54c6f2bda76.tar.gz
Added an inherit flag to apr_socket_create and other socket creation
functions. This allows APR programs to specify that a socket should be passed to any child processes that are created. The inherit flag is only meaningful if programs use apr_process_create(). This also adds a couple of macros that allow APR types to set and unset the inherit flag. This also fixes Apache to use the new API. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61939 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/arch/unix/networkio.h')
-rw-r--r--include/arch/unix/networkio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/arch/unix/networkio.h b/include/arch/unix/networkio.h
index 5c879db7b..46bacfdd4 100644
--- a/include/arch/unix/networkio.h
+++ b/include/arch/unix/networkio.h
@@ -135,6 +135,7 @@ struct apr_socket_t {
int local_port_unknown;
int local_interface_unknown;
apr_int32_t netmask;
+ int inherit;
};
struct apr_pollfd_t {