diff options
author | Dave Barach <dave@barachs.net> | 2016-08-04 10:15:08 -0400 |
---|---|---|
committer | Dave Barach <dave@barachs.net> | 2016-08-04 10:15:21 -0400 |
commit | 72d7223163b2a54735f5c900089c8683d6eed74e (patch) | |
tree | 38ed8b0e9665d437801562e0bbbcb88586c0cefc /vpp-api-test/vat/plugin.h | |
parent | c08f5a7aefc90d344e1ebee4bcce3f53f2d26c3d (diff) |
VPP-237 vpp-api-test coding style cleanup
Change-Id: I50a5412463e9346149a7504344a68c8b5762dc97
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vpp-api-test/vat/plugin.h')
-rw-r--r-- | vpp-api-test/vat/plugin.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/vpp-api-test/vat/plugin.h b/vpp-api-test/vat/plugin.h index 21e9983feec..559ec52f128 100644 --- a/vpp-api-test/vat/plugin.h +++ b/vpp-api-test/vat/plugin.h @@ -23,13 +23,15 @@ #include <sys/stat.h> #include <unistd.h> -typedef struct { +typedef struct +{ u8 *name; struct stat file_info; void *handle; } plugin_info_t; -typedef struct { +typedef struct +{ /* loaded plugin info */ plugin_info_t *plugin_info; uword *plugin_by_name_hash; @@ -39,13 +41,21 @@ typedef struct { u8 *plugin_name_filter; /* convenience */ - vat_main_t * vat_main; - + vat_main_t *vat_main; + } plugin_main_t; plugin_main_t vat_plugin_main; int vat_plugin_init (vat_main_t * vam); -int vat_load_new_plugins (plugin_main_t *pm); +int vat_load_new_plugins (plugin_main_t * pm); #endif + +/* + * fd.io coding-style-patch-verification: ON + * + * Local Variables: + * eval: (c-set-style "gnu") + * End: + */ |