]> git.meshlink.io Git - meshlink/commitdiff
Use new version of UTCP which also return errors via the poll callback.
authorGuus Sliepen <guus@meshlink.io>
Thu, 27 Jul 2017 09:27:58 +0000 (11:27 +0200)
committerGuus Sliepen <guus@meshlink.io>
Thu, 27 Jul 2017 09:27:58 +0000 (11:27 +0200)
src/meshlink.h
src/utcp

index 2ecbfff339c73903c40c9d683ae5a8c875cd9689..5ac1e84df7f38ff26e5e8a78bd71d77b5b80f694 100644 (file)
@@ -638,7 +638,8 @@ typedef void (*meshlink_channel_receive_cb_t)(meshlink_handle_t *mesh, meshlink_
  *
  *  @param mesh         A handle which represents an instance of MeshLink.
  *  @param channel      A handle for the channel.
- *  @param len          The maximum amount of data that is guaranteed to be accepted by meshlink_channel_send().
+ *  @param len          The maximum amount of data that is guaranteed to be accepted by meshlink_channel_send(),
+ *                      or 0 in case of an error.
  */
 typedef void (*meshlink_channel_poll_cb_t)(meshlink_handle_t *mesh, meshlink_channel_t *channel, size_t len);
 
index 5ded633782709710c42648c71154d6062e83b7a6..d3b3b958b5555dfe0e20844135bff1d8b838f1dc 160000 (submodule)
--- a/src/utcp
+++ b/src/utcp
@@ -1 +1 @@
-Subproject commit 5ded633782709710c42648c71154d6062e83b7a6
+Subproject commit d3b3b958b5555dfe0e20844135bff1d8b838f1dc