From 58da9ac6e691a8c660eb8ca838a154e11da0db68 Mon Sep 17 00:00:00 2001 From: Ondrej Fabry Date: Wed, 22 Jul 2020 04:40:55 +0200 Subject: Fix binapigen decoding and minor improvements - fixed allocating byte slices before copying decoded data - simplified encoding functions - several minor improvements Change-Id: I6669424b89eb86333805cb1b57e4551169980cc2 Signed-off-by: Ondrej Fabry --- .../.vppapi/plugins/http_static.api.json | 79 ++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 internal/testbinapi/binapi2001/.vppapi/plugins/http_static.api.json (limited to 'internal/testbinapi/binapi2001/.vppapi/plugins/http_static.api.json') diff --git a/internal/testbinapi/binapi2001/.vppapi/plugins/http_static.api.json b/internal/testbinapi/binapi2001/.vppapi/plugins/http_static.api.json new file mode 100644 index 0000000..5bd9315 --- /dev/null +++ b/internal/testbinapi/binapi2001/.vppapi/plugins/http_static.api.json @@ -0,0 +1,79 @@ +{ + "types": [], + "messages": [ + [ + "http_static_enable", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "u32", + "fifo_size" + ], + [ + "u32", + "cache_size_limit" + ], + [ + "u32", + "prealloc_fifos" + ], + [ + "u32", + "private_segment_size" + ], + [ + "string", + "www_root", + 256 + ], + [ + "string", + "uri", + 256 + ], + { + "crc": "0x075f8292" + } + ], + [ + "http_static_enable_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ] + ], + "unions": [], + "enums": [], + "services": { + "http_static_enable": { + "reply": "http_static_enable_reply" + } + }, + "options": { + "version": "2.1.0" + }, + "aliases": {}, + "vl_api_version": "0xd29e72e9" +} -- cgit 1.2.3-korg