From eaa376ffcece9ac4482eccbe715d862c3af6d2f2 Mon Sep 17 00:00:00 2001
From: mulander <adam.wolk@tintagel.pl>
Date: Wed, 24 Jan 2018 08:25:32 +0800
Subject: [PATCH] READMEs: CHANGE callback replaces SET/CLEAR_MODE

LWS_CALLBACK_SET_MODE_POLL_FD and LWS_CALLBACK_CLEAR_MODE_POLL_FD no longer exist.

Updating the documentation to reflect that and point to LWS_CALLBACK_CHANGE_MODE_POLL_FD.
---
 README.coding.md | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/README.coding.md b/README.coding.md
index c1c4a3fc..568095fc 100644
--- a/README.coding.md
+++ b/README.coding.md
@@ -220,10 +220,9 @@ external polling array.  That's needed if **libwebsockets** will
 cooperate with an existing poll array maintained by another
 server.
 
-Four callbacks `LWS_CALLBACK_ADD_POLL_FD`, `LWS_CALLBACK_DEL_POLL_FD`,
-`LWS_CALLBACK_SET_MODE_POLL_FD` and `LWS_CALLBACK_CLEAR_MODE_POLL_FD`
-appear in the callback for protocol 0 and allow interface code to
-manage socket descriptors in other poll loops.
+Three callbacks `LWS_CALLBACK_ADD_POLL_FD`, `LWS_CALLBACK_DEL_POLL_FD`
+and `LWS_CALLBACK_CHANGE_MODE_POLL_FD` appear in the callback for protocol 0
+and allow interface code to manage socket descriptors in other poll loops.
 
 You can pass all pollfds that need service to `lws_service_fd()`, even
 if the socket or file does not belong to **libwebsockets** it is safe.
-- 
GitLab