[Cogl] [PATCH 25/53] doc: Document the members of CoglPollFDEvent

Damien Lespiau damien.lespiau at gmail.com
Tue Jan 1 06:31:01 PST 2013


From: Damien Lespiau <damien.lespiau at intel.com>

---
 cogl/cogl-poll.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/cogl/cogl-poll.h b/cogl/cogl-poll.h
index 6496c7d..7a7e311 100644
--- a/cogl/cogl-poll.h
+++ b/cogl/cogl-poll.h
@@ -52,6 +52,13 @@ COGL_BEGIN_DECLS
 
 /**
  * CoglPollFDEvent:
+ * @COGL_POLL_FD_EVENT_IN: there is data to read
+ * @COGL_POLL_FD_EVENT_PRI: data can be written (without blocking)
+ * @COGL_POLL_FD_EVENT_OUT: there is urgent data to read.
+ * @COGL_POLL_FD_EVENT_ERR: error condition
+ * @COGL_POLL_FD_EVENT_HUP: hung up (the connection has been broken, usually
+ *                          for pipes and sockets).
+ * @COGL_POLL_FD_EVENT_NVAL: invalid request. The file descriptor is not open.
  *
  * A bitmask of events that Cogl may need to wake on for a file
  * descriptor. Note that these all have the same values as the
-- 
1.7.7.5



More information about the Cogl mailing list