X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvpp-api%2Fvapi%2Fvapi_common.h;h=bf438f7f08deba9c981cc9809b099dc81abae3be;hb=4b9935cd54e5ca31c192cb9113e3056016f0b728;hp=764a0b71f50c0b8972b277f718730591fb3ed50b;hpb=fd67ece3d3eda0bd896aaa166d89b4f8e7f4e98f;p=vpp.git diff --git a/src/vpp-api/vapi/vapi_common.h b/src/vpp-api/vapi/vapi_common.h index 764a0b71f50..bf438f7f08d 100644 --- a/src/vpp-api/vapi/vapi_common.h +++ b/src/vpp-api/vapi/vapi_common.h @@ -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 }