]> git.meshlink.io Git - meshlink/blobdiff - src/meshlink.h
Use new version of UTCP which also return errors via the poll callback.
[meshlink] / src / meshlink.h
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);