summaryrefslogtreecommitdiffstats
path: root/src/vlibapi/api_shared.c
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2017-05-12 11:59:25 -0400
committerDamjan Marion <dmarion.lists@gmail.com>2017-05-17 18:37:10 +0000
commitbfd9227e6da567e0e19e026afe94cd4c0b65f725 (patch)
tree78d7b0995d12d26191554c9c53e33cdaec84fdcd /src/vlibapi/api_shared.c
parent3291ecaec66158ba9743e67b7f183cf659f0e8b5 (diff)
Add vl_msg_api_get_message_length[_inline]
Change-Id: I6d86cf7966d51ec7a507bbb59c586adbfb45be05 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vlibapi/api_shared.c')
-rw-r--r--src/vlibapi/api_shared.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vlibapi/api_shared.c b/src/vlibapi/api_shared.c
index 0817f38e40a..5c1a9940dc7 100644
--- a/src/vlibapi/api_shared.c
+++ b/src/vlibapi/api_shared.c
@@ -624,6 +624,12 @@ vl_msg_api_replay_handler (void *the_msg)
/* do NOT free the message buffer... */
}
+u32
+vl_msg_api_get_msg_length (void *msg_arg)
+{
+ return vl_msg_api_get_msg_length_inline (msg_arg);
+}
+
/*
* vl_msg_api_socket_handler
*/