From: Guus Sliepen Date: Sat, 26 Jul 2014 12:41:27 +0000 (+0200) Subject: Fix declaration of meshlink_set_channel_receive_cb(). X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=e3cb560a6d22dbe111447039098960cb353402ec;p=meshlink Fix declaration of meshlink_set_channel_receive_cb(). --- diff --git a/src/meshlink.h b/src/meshlink.h index 9db3c3d8..7bb0da99 100644 --- a/src/meshlink.h +++ b/src/meshlink.h @@ -370,7 +370,7 @@ extern void meshlink_set_channel_accept_cb(meshlink_handle_t *mesh, meshlink_cha * @param channel A handle for the channel. * @param cb A pointer to the function which will be called when another node sends data to the local node. */ -extern void meshlink_set_channel_receive_cb(meshlink_handle_t *mesh, meshlink_channel_t *channel, meshlink_receive_cb_t cb); +extern void meshlink_set_channel_receive_cb(meshlink_handle_t *mesh, meshlink_channel_t *channel, meshlink_channel_receive_cb_t cb); /// Open a reliable stream channel to another node. /** This function is called whenever a remote node wants to open a channel to the local node.