X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvpp%2Fapi%2Fplugin.h;h=e4f0c646d3b41151397b453b5560996fcfe04e37;hb=5fda7a3925be145f0c326d0aecc36d883cbcb2ee;hp=c69186287aa5a098ed42818d0faf55fafd853a74;hpb=71612d61930e57e7c8ebf9e5647b15a4b23720b2;p=vpp.git diff --git a/src/vpp/api/plugin.h b/src/vpp/api/plugin.h index c69186287aa..e4f0c646d3b 100644 --- a/src/vpp/api/plugin.h +++ b/src/vpp/api/plugin.h @@ -1,4 +1,6 @@ /* + * plugin.h: plugin handling + * * Copyright (c) 2015 Cisco and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -12,9 +14,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -/* - * plugin.h: plugin handling - */ #ifndef __included_plugin_h__ #define __included_plugin_h__ @@ -36,13 +35,18 @@ typedef struct plugin_info_t *plugin_info; uword *plugin_by_name_hash; - /* path and name filter */ + /* paths and name filters */ u8 *plugin_path; u8 *plugin_name_filter; + u8 *vat_plugin_path; + u8 *vat_plugin_name_filter; - /* convenience */ - vat_main_t *vat_main; + /* plugin configs and hash by name */ + plugin_config_t *configs; + uword *config_index_by_name; + /* usual */ + vlib_main_t *vlib_main; } plugin_main_t; extern plugin_main_t vat_plugin_main;