2 * Copyright (c) 2020 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.
17 #include <vlibapi/api.h>
18 #include <vlibmemory/api.h>
20 clib_error_t *vat_plugin_register_one (vat_main_t * vam);
21 clib_error_t *vat_plugin_register_cp (vat_main_t * vam);
22 clib_error_t *vat_plugin_register_gpe (vat_main_t * vam);
25 vat_plugin_register (vat_main_t * vam)
29 if ((err = vat_plugin_register_gpe (vam)))
31 if ((err = vat_plugin_register_cp (vam)))
33 if ((err = vat_plugin_register_one (vam)))
40 * fd.io coding-style-patch-verification: ON
43 * eval: (c-set-style "gnu")