diff options
Diffstat (limited to 'src/plugins/ioam/lib-trace/trace_test.c')
-rw-r--r-- | src/plugins/ioam/lib-trace/trace_test.c | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/src/plugins/ioam/lib-trace/trace_test.c b/src/plugins/ioam/lib-trace/trace_test.c index 060c621836a..89814783455 100644 --- a/src/plugins/ioam/lib-trace/trace_test.c +++ b/src/plugins/ioam/lib-trace/trace_test.c @@ -28,31 +28,18 @@ #include <vlibapi/vat_helper_macros.h> /* Declare message IDs */ -#include <ioam/lib-trace/trace_msg_enum.h> - -/* define message structures */ -#define vl_typedefs -#include <ioam/lib-trace/trace_all_api_h.h> -#undef vl_typedefs - -/* declare message handlers for each api */ +#include <ioam/lib-trace/trace.api_enum.h> +#include <ioam/lib-trace/trace.api_types.h> #define vl_endianfun /* define message structures */ -#include <ioam/lib-trace/trace_all_api_h.h> -#undef vl_endianfun - -/* instantiate all the print functions we know about */ -#define vl_print(handle, ...) #define vl_printfun -#include <ioam/lib-trace/trace_all_api_h.h> -#undef vl_printfun - -/* Get the API version number. */ #define vl_api_version(n,v) static u32 api_version=(v); -#include <ioam/lib-trace/trace_all_api_h.h> +#define vl_print(handle, ...) +#include <ioam/lib-trace/trace.api.h> +#undef vl_endianfun +#undef vl_printfun #undef vl_api_version - typedef struct { /* API message ID base */ |