summaryrefslogtreecommitdiff
path: root/include/apr_general.h
diff options
context:
space:
mode:
authorbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2010-04-12 18:10:48 +0000
committerbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2010-04-12 18:10:48 +0000
commit0c49e93bb6732c7eab1b784f1c6a763489b97420 (patch)
treeaa98974e81186474ae15001a84d779c601e12e4a /include/apr_general.h
parentf62e294edffca17799220c9f586262cb63e71987 (diff)
downloadlibapr-0c49e93bb6732c7eab1b784f1c6a763489b97420.tar.gz
Hide apr_wait_for_io_or_timeout() from public view and add instead
apr_socket_wait() and apr_file_pipe_wait(). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@933338 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_general.h')
-rw-r--r--include/apr_general.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/apr_general.h b/include/apr_general.h
index 01d2e0766..cf65945c0 100644
--- a/include/apr_general.h
+++ b/include/apr_general.h
@@ -67,6 +67,9 @@ extern "C" {
/** signal numbers typedef */
typedef int apr_signum_t;
+/* Type of I/O to wait for */
+typedef enum { APR_WAIT_READ, APR_WAIT_WRITE } apr_wait_type_t;
+
/**
* Finding offsets of elements within structures.
* Taken from the X code... they've sweated portability of this stuff