Update copyright dates
[src/app-framework-binder.git] / src / websock.h
index 3be89df..5066333 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016, 2017 "IoT.bzh"
+ * Copyright (C) 2015-2020 "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);