X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwebsock.h;h=da44a88bebc65b7c7eacfa4af0d082aec132ac29;hb=d3c80685ed6067f4899635c0328bbd8b70a2ed90;hp=660f4516791a51b41fe1ef447a500e271c1b7a9e;hpb=ed943b6facb90cfecf3008751e3b0ba5175998f6;p=src%2Fapp-framework-binder.git diff --git a/src/websock.h b/src/websock.h index 660f4516..da44a88b 100644 --- a/src/websock.h +++ b/src/websock.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016 "IoT.bzh" + * Copyright (C) 2016, 2017 "IoT.bzh" * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,7 +70,7 @@ extern int websock_continue_v(struct websock *ws, int last, const struct iovec * extern ssize_t websock_read(struct websock *ws, void *buffer, size_t size); extern int websock_drop(struct websock *ws); -extern int websock_dispatch(struct websock *ws); +extern int websock_dispatch(struct websock *ws, int loop); extern struct websock *websock_create_v13(const struct websock_itf *itf, void *closure); extern void websock_destroy(struct websock *ws);