summaryrefslogtreecommitdiffstats
path: root/extras/emacs/plugin-main-skel.el
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-05-29 09:59:51 -0400
committerDave Barach <dave@barachs.net>2019-05-29 10:00:21 -0400
commit913f4c9a8824c1bd167d3a103aec902a14c08697 (patch)
treed4a5c894e524c245abd74e8b8a33875be40ed139 /extras/emacs/plugin-main-skel.el
parent02d576b754191a6dbffb7829db7cb18567b9b97f (diff)
emacs-skeleton: improve generated .api files
Type cleanups: s/u8/bool/ for "enable_disable" s/u32/vl_api_interface_index_t/ for "sw_if_index" Add an API version stamp. Add a doxygen tag for the binary API. Add Apache-2 licence text. Change-Id: I2fa168336efb0f1d9b9b6dec945589cbc5fd5595 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'extras/emacs/plugin-main-skel.el')
-rw-r--r--extras/emacs/plugin-main-skel.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/emacs/plugin-main-skel.el b/extras/emacs/plugin-main-skel.el
index 873f72da39d..632a1329c2d 100644
--- a/extras/emacs/plugin-main-skel.el
+++ b/extras/emacs/plugin-main-skel.el
@@ -47,6 +47,7 @@ nil
#include <vlibapi/api.h>
#include <vlibmemory/api.h>
#include <vpp/app/version.h>
+#include <stdbool.h>
/* define message IDs */
#include <" plugin-name "/" plugin-name "_msg_enum.h>