From a8233d97936eeed545ea763c0ace1eb4f87219f9 Mon Sep 17 00:00:00 2001 From: cbdev Date: Sun, 26 May 2019 16:02:29 +0200 Subject: Basic plugin loading --- websocksy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'websocksy.h') 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 { -- cgit v1.2.3