1 #include "private-libwebsockets.h"
3 #include "extension-deflate-frame.h"
4 #include "extension-deflate-stream.h"
6 struct libwebsocket_extension libwebsocket_internal_extensions[] = {
7 #ifdef LWS_EXT_DEFLATE_STREAM
10 lws_extension_callback_deflate_stream,
11 sizeof(struct lws_ext_deflate_stream_conn)
15 "x-webkit-deflate-frame",
16 lws_extension_callback_deflate_frame,
17 sizeof(struct lws_ext_deflate_frame_conn)
21 lws_extension_callback_deflate_frame,
22 sizeof(struct lws_ext_deflate_frame_conn)
30 struct libwebsocket_extension *libwebsocket_get_internal_extensions()
32 return libwebsocket_internal_extensions;