apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r560494 - /apr/apr/branches/evenset/include/apr_eventset.h
Date Sat, 28 Jul 2007 04:46:28 GMT
Author: davi
Date: Fri Jul 27 21:46:27 2007
New Revision: 560494

URL: http://svn.apache.org/viewvc?view=rev&rev=560494
Log:
Fix eventset flags enum.

Modified:
    apr/apr/branches/evenset/include/apr_eventset.h

Modified: apr/apr/branches/evenset/include/apr_eventset.h
URL: http://svn.apache.org/viewvc/apr/apr/branches/evenset/include/apr_eventset.h?view=diff&rev=560494&r1=560493&r2=560494
==============================================================================
--- apr/apr/branches/evenset/include/apr_eventset.h (original)
+++ apr/apr/branches/evenset/include/apr_eventset.h Fri Jul 27 21:46:27 2007
@@ -48,7 +48,10 @@
 /**
  * eventset flags
  */
-#define APR_EVENTSET 0x0001 /**< Runs a single iteration for the eventset loop. */
+typedef enum {
+    /** Runs a single iteration for the eventset loop. */
+    APR_EVENTSET_SINGLE     = (0 << 1),
+} apr_eventset_flags_e;
 
 /**
  * Supported event types (asynchronous operations)
@@ -172,7 +175,7 @@
  */
 APR_DECLARE(apr_status_t) apr_eventset_create(apr_eventset_t **eventset,
                                               apr_pool_t *pool, apr_uint32_t size,
-                                              apr_uint32_t flags);
+                                              apr_eventset_flags_e flags);
 
 /**
  * Destroy a eventset
@@ -205,7 +208,7 @@
  * @param flags Optional flags to modify the operation of the eventset
  */
 APR_DECLARE(apr_status_t) apr_eventset_loop(apr_eventset_t *eventset,
-                                            apr_uint32_t flags);
+                                            apr_eventset_flags_e flags);
 
 /**
  * Stops a eventset loop from running



Mime
View raw message