aboutsummaryrefslogtreecommitdiffstats
path: root/utils/sysrepo-plugins/hicn-plugin/plugin/hicn_vpp_comm.c
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2019-05-07 14:53:39 +0000
committerGerrit Code Review <gerrit@fd.io>2019-05-07 14:53:39 +0000
commitc8e6bdf4282c34fd3199cdeec42895cbbc05d9c1 (patch)
tree58651402197fe0cf73561d6c639317b5d940b6f2 /utils/sysrepo-plugins/hicn-plugin/plugin/hicn_vpp_comm.c
parent3ba9071c6899d64b36e910943f109ddc7c7e0809 (diff)
parente9a02cb3a565daab16e295c551dff80501f94974 (diff)
Merge "[HICN-153] vapi definition warning"
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.c6
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;