]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
websockets: sync prototypes in docs with implementation [ci skip]
authorViktor Szakats <commit@vsz.me>
Sat, 10 Sep 2022 21:36:49 +0000 (21:36 +0000)
committerViktor Szakats <commit@vsz.me>
Sat, 10 Sep 2022 21:37:53 +0000 (21:37 +0000)
Docs for the new send/recv functions synced with the committed versions
of these.

Closes #9470

docs/libcurl/curl_ws_recv.3
docs/libcurl/curl_ws_send.3

index b13b5983243ff02d849e558b25a89cb2403f4623..5315c5626669ac92a99e9eb1a1d9002dfc9db14a 100644 (file)
@@ -30,7 +30,7 @@ curl_ws_recv - receive websocket data
 #include <curl/easy.h>
 
 CURLcode curl_ws_recv(CURL *curl, void *buffer, size_t buflen,
-                      size_t *nread, unsigned int *recvflags);
+                      size_t *recv, unsigned int *recvflags);
 .fi
 .SH DESCRIPTION
 This function call is EXPERIMENTAL.
index 098cba6891b2394dbaed825e65098b6b83f27109..89afc8582b00e596157d68df9bc4b26b47eb9dcf 100644 (file)
@@ -29,8 +29,8 @@ curl_ws_send - receive websocket data
 .nf
 #include <curl/easy.h>
 
-CURLcode curl_ws_send(CURL *curl, char *buffer, size_t buflen, size_t *sent,
-                      unsigned int sendflags);
+CURLcode curl_ws_send(CURL *curl, const void *buffer, size_t buflen,
+                      size_t *sent, unsigned int sendflags);
 .fi
 .SH DESCRIPTION
 This function call is EXPERIMENTAL.