aboutsummaryrefslogtreecommitdiff
path: root/websocksy.h
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2019-05-26 16:02:29 +0200
committercbdev <cb@cbcdn.com>2019-05-26 16:02:29 +0200
commita8233d97936eeed545ea763c0ace1eb4f87219f9 (patch)
treea15bdfbc91226bbb94052817e9fa15decc1abbc6 /websocksy.h
parent4c6833d470eda4be02b4dfb32cdeba9d93c67f43 (diff)
downloadwebsocksy-a8233d97936eeed545ea763c0ace1eb4f87219f9.tar.gz
websocksy-a8233d97936eeed545ea763c0ace1eb4f87219f9.tar.bz2
websocksy-a8233d97936eeed545ea763c0ace1eb4f87219f9.zip
Basic plugin loading
Diffstat (limited to 'websocksy.h')
-rw-r--r--websocksy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/websocksy.h b/websocksy.h
index c7311ca..9cf1588 100644
--- a/websocksy.h
+++ b/websocksy.h
@@ -85,7 +85,7 @@ typedef struct /*_ws_http_header*/ {
* NULL `data` pointer as an indication the any allocation within `framing_data` is to be freed.
* The return value is the number of bytes to be sent to the peer.
*/
-typedef int64_t (*ws_framing)(uint8_t* data, size_t length, size_t last_read, ws_operation* opcode, void** framing_data, char* config);
+typedef int64_t (*ws_framing)(uint8_t* data, size_t length, size_t last_read, ws_operation* opcode, void** framing_data, const char* config);
/* Peer connection modes */
typedef enum {