X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fexamples%2Fsample-plugin%2Fsample%2Fsample.api;h=d565c0b178b2dcda5f8acf5e2b68dd869ddb4fa1;hb=11b8dbf78af49d270a0e72abe7dea73eec30d85f;hp=f99cdb3856e4ba802c10884c7cd4c0f2ddc9e986;hpb=45d3496f3d86ee1a930ce0ffd6ca3d1730355eb8;p=vpp.git diff --git a/src/examples/sample-plugin/sample/sample.api b/src/examples/sample-plugin/sample/sample.api index f99cdb3856e..d565c0b178b 100644 --- a/src/examples/sample-plugin/sample/sample.api +++ b/src/examples/sample-plugin/sample/sample.api @@ -16,7 +16,7 @@ /* Define a simple binary API to control the feature */ -define sample_macswap_enable_disable { +autoreply define sample_macswap_enable_disable { /* Client identifier, set from api_main.my_client_index */ u32 client_index; @@ -29,11 +29,3 @@ define sample_macswap_enable_disable { /* Interface handle */ u32 sw_if_index; }; - -define sample_macswap_enable_disable_reply { - /* From the request */ - u32 context; - - /* Return value, zero means all OK */ - i32 retval; -};