summaryrefslogtreecommitdiff
path: root/include/apr_general.h
diff options
context:
space:
mode:
authorBrian Havard <bjh@apache.org>2010-04-12 18:10:48 +0000
committerBrian Havard <bjh@apache.org>2010-04-12 18:10:48 +0000
commit3ae1c245c4593e92f953b1ad0d44793567281049 (patch)
treeaa98974e81186474ae15001a84d779c601e12e4a /include/apr_general.h
parent2477f7e99d2ffc39f2ff2d47dbd02fec6db8bbc2 (diff)
downloadapr-3ae1c245c4593e92f953b1ad0d44793567281049.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: https://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