diff options
author | Neale Ranns <nranns@cisco.com> | 2019-06-21 07:57:18 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-06-26 11:29:09 +0000 |
commit | 377860a7394970d339a33717a8c4c8cad328632f (patch) | |
tree | 7df08be1924617f7b93009b0b892fff98a23a4dd /src/plugins | |
parent | 7db35de508f4ce1f04eb7e28e454829c66f7635a (diff) |
api: Remove the inlines file and replace with library functions
using inlines exposes the users to the internal data types used by VPP, namely vec.h. This file does not compile with a C++ compiler.
Type: feature
Change-Id: I1544fdd9eae998309f865df61df78571bdb96903
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/http_static/http_static.c | 1 | ||||
-rw-r--r-- | src/plugins/http_static/http_static_test.c | 1 | ||||
-rw-r--r-- | src/plugins/map/map_api.c | 1 | ||||
-rw-r--r-- | src/plugins/nat/nat_api.c | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/http_static/http_static.c b/src/plugins/http_static/http_static.c index d380665f1e2..2ad4acfb0c1 100644 --- a/src/plugins/http_static/http_static.c +++ b/src/plugins/http_static/http_static.c @@ -22,7 +22,6 @@ #include <vlibapi/api.h> #include <vlibmemory/api.h> #include <vpp/app/version.h> -#include <vlibapi/api_types_inlines.h> /* define message IDs */ #include <http_static/http_static_msg_enum.h> diff --git a/src/plugins/http_static/http_static_test.c b/src/plugins/http_static/http_static_test.c index ec715725148..0720463cf63 100644 --- a/src/plugins/http_static/http_static_test.c +++ b/src/plugins/http_static/http_static_test.c @@ -18,7 +18,6 @@ #include <vlibapi/api.h> #include <vlibmemory/api.h> #include <vppinfra/error.h> -#include <vlibapi/api_types_inlines.h> uword unformat_sw_if_index (unformat_input_t * input, va_list * args); diff --git a/src/plugins/map/map_api.c b/src/plugins/map/map_api.c index 5619b24c9aa..a64d90cd452 100644 --- a/src/plugins/map/map_api.c +++ b/src/plugins/map/map_api.c @@ -22,7 +22,6 @@ #include <vnet/ip/ip.h> #include <vnet/fib/fib_table.h> #include <vlibmemory/api.h> -#include <vlibapi/api_types_inlines.h> #define vl_typedefs /* define message structures */ #include <map/map_all_api_h.h> diff --git a/src/plugins/nat/nat_api.c b/src/plugins/nat/nat_api.c index 7c1445f90c8..1dad4e42728 100644 --- a/src/plugins/nat/nat_api.c +++ b/src/plugins/nat/nat_api.c @@ -32,7 +32,6 @@ #include <nat/nat_msg_enum.h> #include <vnet/fib/fib_table.h> #include <vnet/ip/ip_types_api.h> -#include <vlibapi/api_types_inlines.h> #define vl_api_nat44_lb_addr_port_t_endian vl_noop_handler #define vl_api_nat44_add_del_lb_static_mapping_t_endian vl_noop_handler |