X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwebsock.h;fp=src%2Fwebsock.h;h=82e251c1228f1366f9444adafb848e2b17371e85;hb=8dff3447cea6df8ab727d9615cd07b3774ccffa0;hp=dbb3b02270660cdf021f688659fe41f448617a76;hpb=8790ecfe8b83354a5d761c8a4312b561abd2c110;p=src%2Fapp-framework-binder.git diff --git a/src/websock.h b/src/websock.h index dbb3b022..82e251c1 100644 --- a/src/websock.h +++ b/src/websock.h @@ -60,8 +60,12 @@ int websock_error(struct websock *ws, uint16_t code, const void *data, size_t le 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 char *text, 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); ssize_t websock_read(struct websock *ws, void *buffer, size_t size); int websock_drop(struct websock *ws);