diff options
author | Dave Barach <dave@barachs.net> | 2017-03-08 19:08:56 -0500 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2017-03-09 19:07:17 +0000 |
commit | 80f54e20270ed0628ee725e3e3c515731a0188f2 (patch) | |
tree | fa06d939942af6f5126ee645c38cb787814bfb6f /src/vlibapi/api.h | |
parent | b3b2de71ceea0cc7ce18f89cc8180ed4a42e355d (diff) |
vlib_mains == 0 special cases be gone
Clean up spurious binary API client link dependency on libvlib.so,
which managed to hide behind vlib_mains == 0 checks reached by
VLIB_xxx_FUNCTION macros.
Change-Id: I5df1f8ab07dca1944250e643ccf06e60a8462325
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vlibapi/api.h')
-rw-r--r-- | src/vlibapi/api.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vlibapi/api.h b/src/vlibapi/api.h index 2cbeb63c44c..87a561211d4 100644 --- a/src/vlibapi/api.h +++ b/src/vlibapi/api.h @@ -252,11 +252,13 @@ void vl_msg_api_queue_handler (unix_shared_memory_queue_t * q); vl_api_trace_t *vl_msg_api_trace_get (api_main_t * am, vl_api_trace_which_t which); +void vl_msg_api_barrier_sync (void) __attribute__ ((weak)); +void vl_msg_api_barrier_release (void) __attribute__ ((weak)); void vl_msg_api_free (void *); void vl_noop_handler (void *mp); -clib_error_t *vl_api_init (vlib_main_t * vm); void vl_msg_api_increment_missing_client_counter (void); void vl_msg_api_post_mortem_dump (void); +void vl_msg_api_post_mortem_dump_enable_disable (int enable); void vl_msg_api_register_pd_handler (void *handler, u16 msg_id_host_byte_order); int vl_msg_api_pd_handler (void *mp, int rv); |