Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix bugs in emacs plugin templates
[vpp.git]
/
extras
/
emacs
/
plugin-h-skel.el
diff --git
a/extras/emacs/plugin-h-skel.el
b/extras/emacs/plugin-h-skel.el
index
8bf9b6f
..
94f60af
100644
(file)
--- a/
extras/emacs/plugin-h-skel.el
+++ b/
extras/emacs/plugin-h-skel.el
@@
-21,6
+21,7
@@
nil
'(if (not (boundp 'plugin-name))
(setq plugin-name (read-string "Plugin name: ")))
'(setq PLUGIN-NAME (upcase plugin-name))
'(if (not (boundp 'plugin-name))
(setq plugin-name (read-string "Plugin name: ")))
'(setq PLUGIN-NAME (upcase plugin-name))
+'(setq capital-oh-en "ON")
"
/*
* " plugin-name ".h - skeleton vpp engine plug-in header file
"
/*
* " plugin-name ".h - skeleton vpp engine plug-in header file
@@
-63,4
+64,13
@@
typedef struct {
vlib_node_registration_t " plugin-name "_node;
#endif /* __included_" plugin-name "_h__ */
vlib_node_registration_t " plugin-name "_node;
#endif /* __included_" plugin-name "_h__ */
+
+/*
+ * fd.io coding-style-patch-verification: " capital-oh-en "
+ *
+ * Local Variables:
+ * eval: (c-set-style \"gnu\")
+ * End:
+ */
+
")
")