24 #include <vpp/app/version.h> 27 #include <http_static/http_static.api_enum.h> 28 #include <http_static/http_static.api_types.h> 32 #define vl_print(handle, ...) vlib_cli_output (handle, __VA_ARGS__) 34 #define REPLY_MSG_ID_BASE hmp->msg_id_base 43 vl_api_http_static_enable_reply_t *rmp;
59 #include <http_static/http_static.api.c> 79 .version = VPP_BUILD_VER,
80 .description =
"HTTP Static Server"
Static http server definitions.
vnet_main_t * vnet_get_main(void)
static clib_error_t * http_static_init(vlib_main_t *vm)
#define VLIB_INIT_FUNCTION(x)
Configure and enable the static http server.
int http_static_server_enable_api(u32 fifo_size, u32 cache_limit, u32 prealloc_fifos, u32 private_segment_size, u8 *www_root, u8 *uri)
API helper function for vl_api_http_static_enable_t messages.
http_static_main_t http_static_main
static void setup_message_id_table(api_main_t *am)
static void vl_api_http_static_enable_t_handler(vl_api_http_static_enable_t *mp)