diff options
author | Florin Coras <fcoras@cisco.com> | 2018-01-05 03:20:25 -0800 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-01-09 18:33:08 +0000 |
commit | e86a8edd3c14fb41ace2a12efd17bc7772bf623f (patch) | |
tree | 480219864cadd743fdb95c21379aeaf88a985e23 /src/vlib-api.am | |
parent | 4363ad6c96b5641fca1b16c5a6ec22e2364adcfd (diff) |
api: refactor vlibmemory
- separate client/server code for both memory and socket apis
- separate memory api code from generic vlib api code
- move unix_shared_memory_fifo to svm and rename to svm_fifo_t
- overall declutter
Change-Id: I90cdd98ff74d0787d58825b914b0f1eafcfa4dc2
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vlib-api.am')
-rw-r--r-- | src/vlib-api.am | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/vlib-api.am b/src/vlib-api.am index 5bbd4599729..f1fdb8d2228 100644 --- a/src/vlib-api.am +++ b/src/vlib-api.am @@ -22,15 +22,16 @@ libvlibmemory_la_SOURCES = \ vlibapi/node_serialize.c \ vlibmemory/api.h \ vlibmemory/memclnt.api \ + vlibmemory/memory_api.c \ vlibmemory/memory_shared.c \ - vlibmemory/memory_vlib.c \ - vlibmemory/socksvr_vlib.c \ - vlibmemory/unix_shared_memory_queue.c \ - vlibmemory/unix_shared_memory_queue.h \ + vlibmemory/socket_api.c \ + vlibmemory/vlib_api.c \ + vlibmemory/vlib_api_cli.c \ vlibmemory/vl_memory_api_h.h \ vlibmemory/vl_memory_msg_enum.h -nobase_include_HEADERS += vlibapi/api.h \ +nobase_include_HEADERS += \ + vlibapi/api.h \ vlibapi/api_common.h \ vlibapi/api_helper_macros.h \ vlibapi/vat_helper_macros.h @@ -40,23 +41,23 @@ libvlibmemoryclient_la_LIBADD = $(libvlibmemoryclient_la_DEPENDENCIES) -lpthread libvlibmemoryclient_la_SOURCES = \ vlibapi/api_helper_macros.h \ vlibapi/api_shared.c \ - vlibapi/node_unserialize.c \ - vlibmemory/api.h \ + vlibapi/node_serialize.c \ vlibmemory/memclnt.api \ vlibmemory/memory_client.c \ vlibmemory/memory_shared.c \ vlibmemory/socket_client.c \ - vlibmemory/unix_shared_memory_queue.c \ - vlibmemory/unix_shared_memory_queue.h \ vlibmemory/vl_memory_api_h.h \ vlibmemory/vl_memory_msg_enum.h nobase_include_HEADERS += \ vlibmemory/api.h \ - vlibmemory/api_common.h \ + vlibmemory/memory_api.h \ + vlibmemory/memory_shared.h \ + vlibmemory/memory_client.h \ + vlibmemory/socket_api.h \ + vlibmemory/socket_client.h \ vlibmemory/vl_memory_api_h.h \ vlibmemory/vl_memory_msg_enum.h \ - vlibmemory/unix_shared_memory_queue.h \ vlibmemory/memclnt.api.h BUILT_SOURCES += \ |