vapi: implement vapi_wait() for reads
[vpp.git] / src / vpp-api / vapi / vapi_common.h
index 764a0b7..bf438f7 100644 (file)
@@ -45,16 +45,9 @@ typedef enum
   VAPI_MODE_NONBLOCKING = 2, /**< operations never block */
 } vapi_mode_e;
 
-typedef enum
-{
-  VAPI_WAIT_FOR_READ,       /**< wait until some message is readable */
-  VAPI_WAIT_FOR_WRITE,      /**< wait until a message can be written */
-  VAPI_WAIT_FOR_READ_WRITE,  /**< wait until a read or write can be done */
-} vapi_wait_mode_e;
-
 typedef unsigned int vapi_msg_id_t;
 
-#define INVALID_MSG_ID ((vapi_msg_id_t)(~0))
+#define VAPI_INVALID_MSG_ID ((vapi_msg_id_t)(~0))
 
 #ifdef __cplusplus
 }