diff options
author | Masoud Hemmatpour <mhemmatp@cisco.com> | 2019-04-04 13:34:04 +0200 |
---|---|---|
committer | Mauro Sardara <msardara@cisco.com> | 2019-05-03 08:54:29 +0000 |
commit | e9a02cb3a565daab16e295c551dff80501f94974 (patch) | |
tree | 891701aac1b440c4e74c31f485dad667bfab3924 /utils/sysrepo-plugins/hicn-plugin/plugin/hicn_vpp_comm.c | |
parent | 305e7617be61d21ebd0dee043588c469bc28ad3b (diff) |
[HICN-153] vapi definition warning
Change-Id: I50f381540e171fe2808d4e56cc24ba6d66e8a2ab
Signed-off-by: Masoud Hemmatpour <mhemmatp@cisco.com>
Diffstat (limited to 'utils/sysrepo-plugins/hicn-plugin/plugin/hicn_vpp_comm.c')
-rw-r--r-- | utils/sysrepo-plugins/hicn-plugin/plugin/hicn_vpp_comm.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/sysrepo-plugins/hicn-plugin/plugin/hicn_vpp_comm.c b/utils/sysrepo-plugins/hicn-plugin/plugin/hicn_vpp_comm.c index 2add127f2..f044c5b1b 100644 --- a/utils/sysrepo-plugins/hicn-plugin/plugin/hicn_vpp_comm.c +++ b/utils/sysrepo-plugins/hicn-plugin/plugin/hicn_vpp_comm.c @@ -13,6 +13,7 @@ * limitations under the License. */ #include "hicn_vpp_comm.h" +#include <vapi/vapi.h> @@ -21,7 +22,10 @@ #define MAX_OUTSTANDING_REQUESTS 4 #define RESPONSE_QUEUE_SIZE 2 vapi_ctx_t g_vapi_ctx_instance=NULL; -DEFINE_VAPI_MSG_IDS_HICN_API_JSON; + +// Use VAPI macros to define symbols + + int hicn_connect_vpp() { HICN_INVOKE_BEGIN; |