diff mbox

[API-NEXT,PATCHv2,02/10] api: event: change to odp_event_type_t

Message ID 1435714761-23951-2-git-send-email-bill.fischofer@linaro.org
State New
Headers show

Commit Message

Bill Fischofer July 1, 2015, 1:39 a.m. UTC
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
---
 include/odp/api/event.h | 23 +++++------------------
 1 file changed, 5 insertions(+), 18 deletions(-)
diff mbox

Patch

diff --git a/include/odp/api/event.h b/include/odp/api/event.h
index 63b476f..69d23b6 100644
--- a/include/odp/api/event.h
+++ b/include/odp/api/event.h
@@ -36,23 +36,10 @@  extern "C" {
  */
 
 /**
- * @def ODP_EVENT_BUFFER
- * Buffer event
- */
-
-/**
- * @def ODP_EVENT_PACKET
- * Packet event
- */
-
-/**
- * @def ODP_EVENT_TIMEOUT
- * Timeout event
- */
-
-/**
- * @def ODP_EVENT_CRYPTO_COMPL
- * Crypto completion event
+ * @typedef odp_event_type_t
+ * ODP event types:
+ * ODP_EVENT_BUFFER, ODP_EVENT_PACKET, ODP_EVENT_TIMEOUT,
+ * ODP_EVENT_CRYPTO_COMPL
  */
 
 /**
@@ -62,7 +49,7 @@  extern "C" {
  *
  * @return Event type
  */
-int odp_event_type(odp_event_t event);
+odp_event_type_t odp_event_type(odp_event_t event);
 
 /**
  * Get printable value for an odp_event_t