diff options
author | 2016-12-14 14:49:55 -0500 | |
---|---|---|
committer | 2016-12-23 17:38:09 +0000 | |
commit | fc262a0cf77e3c14ff1d6c006e7eac70999b926f (patch) | |
tree | cdd49ff1071660af24c8d5b4d11425681ae870a3 /vpp-api-test/vat/main.c | |
parent | 6c7440ca95fe3508c083ac4d2ecf7eca459b7f8e (diff) |
Build vpp_api_test binary API debug CLI into vpp
Change-Id: I60ce73a62d8632a644fbfdfbe13ff8ddbb959233
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vpp-api-test/vat/main.c')
-rw-r--r-- | vpp-api-test/vat/main.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/vpp-api-test/vat/main.c b/vpp-api-test/vat/main.c index 76c4d3f7c2a..34492e2ba1a 100644 --- a/vpp-api-test/vat/main.c +++ b/vpp-api-test/vat/main.c @@ -18,6 +18,23 @@ vat_main_t vat_main; +void +vat_suspend (vlib_main_t * vm, f64 interval) +{ + /* do nothing in the standalone version, just return */ +} + +void +fformat_append_cr (FILE * ofp, const char *fmt, ...) +{ + va_list va; + + va_start (va, fmt); + (void) va_fformat (ofp, (char *) fmt, &va); + va_end (va); + fformat (ofp, "\n"); +} + int connect_to_vpe (char *name) { |