#define foreach_vpe_api_msg \
_(sample_macswap_enable_disable, "<intfc> [disable]")
-void vat_api_hookup (vat_main_t *vam)
+static void sample_api_hookup (vat_main_t *vam)
{
sample_test_main_t * sm = &sample_test_main;
/* Hook up handlers for replies from the data plane plug-in */
sm->msg_id_base = vl_client_get_first_plugin_msg_id ((char *) name);
if (sm->msg_id_base != (u16) ~0)
- vat_api_hookup (vam);
+ sample_api_hookup (vam);
vec_free(name);