-int websock_ping(struct websock *ws, const void *data, size_t length);
-int websock_pong(struct websock *ws, const void *data, size_t length);
-int websock_text(struct websock *ws, int last, const void *text, size_t length);
-int websock_text_v(struct websock *ws, int last, const struct iovec *iovec, int count);
-int websock_binary(struct websock *ws, int last, const void *data, size_t length);
-int websock_binary_v(struct websock *ws, int last, const struct iovec *iovec, int count);
-int websock_continue(struct websock *ws, int last, const void *data, size_t length);
-int websock_continue_v(struct websock *ws, int last, const struct iovec *iovec, int count);
+extern int websock_ping(struct websock *ws, const void *data, size_t length);
+extern int websock_pong(struct websock *ws, const void *data, size_t length);
+extern int websock_text(struct websock *ws, int last, const void *text, size_t length);
+extern int websock_text_v(struct websock *ws, int last, const struct iovec *iovec, int count);
+extern int websock_binary(struct websock *ws, int last, const void *data, size_t length);
+extern int websock_binary_v(struct websock *ws, int last, const struct iovec *iovec, int count);
+extern int websock_continue(struct websock *ws, int last, const void *data, size_t length);
+extern int websock_continue_v(struct websock *ws, int last, const struct iovec *iovec, int count);