X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwebsock.h;h=e024182eb09efa453a0073d7ec3ff0b64efead4b;hb=c7e9786d408f13d8f8f43c6b68da916bbb1ed5f3;hp=dbb3b02270660cdf021f688659fe41f448617a76;hpb=5eaa2c12a8b89f8a16f0759db88d65b56c82918c;p=src%2Fapp-framework-binder.git diff --git a/src/websock.h b/src/websock.h index dbb3b022..e024182e 100644 --- a/src/websock.h +++ b/src/websock.h @@ -1,5 +1,5 @@ /* - * Copyright 2016 iot.bzh + * Copyright (C) 2016 "IoT.bzh" * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -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);