X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwebsock.h;h=6c38717a59b7ea99d8c484dd1cad2b467832f781;hb=ca0f859d96599c8ae295c85f825030c891969de1;hp=3be89dfee95a2fd58762ed51d4930c6df85c69f8;hpb=5ef0804c5805faafc88107e591bf4c5f0173d69e;p=src%2Fapp-framework-binder.git diff --git a/src/websock.h b/src/websock.h index 3be89dfe..6c38717a 100644 --- a/src/websock.h +++ b/src/websock.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 "IoT.bzh" + * Copyright (C) 2016-2019 "IoT.bzh" * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -77,3 +77,5 @@ extern void websock_destroy(struct websock *ws); extern void websock_set_default_max_length(size_t maxlen); extern void websock_set_max_length(struct websock *ws, size_t maxlen); + +extern const char *websocket_explain_error(uint16_t code);