api: export ip_types.api for out-of-tree plugins 78/19678/2
authorBenoît Ganne <bganne@cisco.com>
Fri, 17 May 2019 12:24:17 +0000 (14:24 +0200)
committerDave Barach <openvpp@barachs.net>
Sat, 18 May 2019 19:01:51 +0000 (19:01 +0000)
Out-of-tree plugins can refer to IP types in their API. The .api and
associated headers must be exported.

Change-Id: I75004343b040defd9eebac6a8a95c2ecf3c8079a
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/vnet/CMakeLists.txt

index 89d46a1..1940abe 100644 (file)
@@ -58,6 +58,7 @@ list(APPEND VNET_HEADERS
   interface_funcs.h
   ip/ip4_to_ip6.h
   ip/ip6_to_ip4.h
+  ip/ip_types_api.h
   l3_types.h
   plugin/plugin.h
   pipeline.h
@@ -68,7 +69,10 @@ list(APPEND VNET_HEADERS
   util/refcount.h
 )
 
-list(APPEND VNET_API_FILES interface.api)
+list(APPEND VNET_API_FILES
+  interface.api
+  ip/ip_types.api
+)
 
 ##############################################################################
 # Policer infra