rbb 99/04/14 09:41:48
Modified: include apr_network_io.h
Log:
Chages for setsockopt.
Revision Changes Path
1.3 +10 -0 apache-apr/include/apr_network_io.h
Index: apr_network_io.h
===================================================================
RCS file: /home/cvs/apache-apr/include/apr_network_io.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- apr_network_io.h 1999/04/14 15:11:12 1.2
+++ apr_network_io.h 1999/04/14 16:41:47 1.3
@@ -60,6 +60,16 @@
#include "apr_errno.h"
#include "networkio.h"
+#ifndef MAX_SECS_TO_LINGER
+#define MAX_SECS_TO_LINGER 30
+#endif
+
+/* Socket option definitions */
+#define APR_SO_LINGER 1
+#define APR_SO_KEEPALIVE 2
+#define APR_SO_DEBUG 4
+#define APR_SO_NONBLOCK 8
+#define APR_SO_REUSEADDR 16
typedef enum {APR_SHUTDOWN_READ, APR_SHUTDOWN_WRITE,
APR_SHUTDOWN_READWRITE} apr_shutdown_how_t;