move send pipe choked api to public exports
authorAndy Green <andy.green@linaro.org>
Mon, 25 Apr 2011 15:54:11 +0000 (23:54 +0800)
committerAndy Green <andy.green@linaro.org>
Mon, 25 Apr 2011 15:54:11 +0000 (23:54 +0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
lib/libwebsockets.h
lib/private-libwebsockets.h

index c247c3a..77bfa3d 100644 (file)
@@ -648,6 +648,9 @@ extern int
 libwebsockets_get_random(struct libwebsocket_context *context,
                                                            void *buf, int len);
 
+extern int
+lws_send_pipe_choked(struct libwebsocket *wsi);
+
 extern unsigned char *
 libwebsockets_SHA1(const unsigned char *d, size_t n, unsigned char *md);
 
index 4b4d3cd..f0f55a8 100644 (file)
@@ -352,8 +352,6 @@ libwebsocket_set_timeout(struct libwebsocket *wsi,
 extern int
 lws_issue_raw(struct libwebsocket *wsi, unsigned char *buf, size_t len);
 
-extern int
-lws_send_pipe_choked(struct libwebsocket *wsi);
 
 #ifndef LWS_OPENSSL_SUPPORT