api: replace print functions wth format
Type: improvement Change-Id: I7f7050c19453a69a7fb6c5e62f8f57db847d9144 Signed-off-by: Damjan Marion <damarion@cisco.com>
This commit is contained in:
@@ -31,14 +31,11 @@
|
||||
#include <lacp/lacp.api_enum.h>
|
||||
#include <lacp/lacp.api_types.h>
|
||||
|
||||
#define vl_print(handle, ...) vlib_cli_output (handle, __VA_ARGS__)
|
||||
|
||||
/* Macro to finish up custom dump fns */
|
||||
#define FINISH \
|
||||
vec_add1 (s, 0); \
|
||||
vl_print (handle, (char *)s); \
|
||||
vec_free (s); \
|
||||
return handle;
|
||||
#define FINISH \
|
||||
vec_add1 (s, 0); \
|
||||
vlib_cli_output (handle, (char *) s); \
|
||||
vec_free (s); \
|
||||
return handle;
|
||||
|
||||
#define REPLY_MSG_ID_BASE lm->msg_id_base
|
||||
#include <vlibapi/api_helper_macros.h>
|
||||
|
||||
Reference in New Issue
Block a user