From f5ae2bc6574ebc6468df549a590649fc7cafc1f7 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Thu, 7 Apr 2022 16:22:07 +0100 Subject: [PATCH] clean: remove public apis for removed functions https://github.com/warmcat/libwebsockets/issues/2605 --- include/libwebsockets/lws-context-vhost.h | 24 ----------------------- 1 file changed, 24 deletions(-) diff --git a/include/libwebsockets/lws-context-vhost.h b/include/libwebsockets/lws-context-vhost.h index 9201610d3..a69a302be 100644 --- a/include/libwebsockets/lws-context-vhost.h +++ b/include/libwebsockets/lws-context-vhost.h @@ -1188,30 +1188,6 @@ lws_get_vhost_user(struct lws_vhost *vhost); LWS_VISIBLE LWS_EXTERN const char * lws_get_vhost_iface(struct lws_vhost *vhost); -/** - * lws_json_dump_vhost() - describe vhost state and stats in JSON - * - * \param vh: the vhost - * \param buf: buffer to fill with JSON - * \param len: max length of buf - */ -LWS_VISIBLE LWS_EXTERN int -lws_json_dump_vhost(const struct lws_vhost *vh, char *buf, int len); - -/** - * lws_json_dump_context() - describe context state and stats in JSON - * - * \param context: the context - * \param buf: buffer to fill with JSON - * \param len: max length of buf - * \param hide_vhosts: nonzero to not provide per-vhost mount etc information - * - * Generates a JSON description of vhost state into buf - */ -LWS_VISIBLE LWS_EXTERN int -lws_json_dump_context(const struct lws_context *context, char *buf, int len, - int hide_vhosts); - /** * lws_vhost_user() - get the user data associated with the vhost * \param vhost: Websocket vhost