1/* 2 * ssp-h1url plugin 3 * 4 * Written in 2010-2020 by Andy Green <andy@warmcat.com> 5 * 6 * This file is made available under the Creative Commons CC0 1.0 7 * Universal Public Domain Dedication. 8 * 9 * CC0 so it can be used as a template for your own secure streams plugins 10 * licensed how you like. 11 */ 12 13#include <libwebsockets.h> 14 15static int 16ssp_h1url_create(struct lws_ss_handle *ss, void *info, plugin_auth_status_cb status) 17{ 18 return 0; 19} 20 21static int 22ssp_h1url_destroy(struct lws_ss_handle *ss) 23{ 24 return 0; 25} 26 27static int 28ssp_h1url_munge(struct lws_ss_handle *ss, char *path, size_t path_len) 29{ 30 return 0; 31} 32 33/* this is the only exported symbol */ 34const lws_ss_plugin_t ssp_h1url = { 35 .name = "h1url", 36 .alloc = 0, 37 .create = ssp_h1url_create, 38 .destroy = ssp_h1url_destroy, 39 .munge = ssp_h1url_munge 40}; 41