2 * Copyright (c) 2015 Cisco and/or its affiliates.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at:
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
16 * plugin.h: plugin handling
19 #ifndef __included_plugin_h__
20 #define __included_plugin_h__
22 #include <sys/types.h>
30 struct stat file_info;
36 /* loaded plugin info */
37 plugin_info_t *plugin_info;
38 uword *plugin_by_name_hash;
40 /* path and name filter */
42 u8 *plugin_name_filter;
49 extern plugin_main_t vat_plugin_main;
51 int vat_plugin_init (vat_main_t * vam);
52 int vat_load_new_plugins (plugin_main_t * pm);
57 * fd.io coding-style-patch-verification: ON
60 * eval: (c-set-style "gnu")