From: Guus Sliepen Date: Sat, 26 Jul 2014 15:21:42 +0000 (+0200) Subject: Fix warnings from Doxygen. X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=1d2f085a714b8264a05ed55ace2e9385bca0fef9;p=meshlink Fix warnings from Doxygen. --- diff --git a/src/meshlink++.h b/src/meshlink++.h index 494c6ebd..a1911aff 100644 --- a/src/meshlink++.h +++ b/src/meshlink++.h @@ -299,6 +299,7 @@ namespace meshlink { * to hand the data over to the application's thread. * The callback should also not block itself and return as quickly as possible. * + * @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. */ void set_channel_accept_cb(channel *channel, channel_accept_cb_t cb) { @@ -317,7 +318,7 @@ namespace meshlink { * * @return A handle for the channel, or NULL in case of an error. */ - channel *channel_open(node *node, uint16_t port, channel_receive_cb_t recv, const void *data, size_t len) { + channel *channel_open(node *node, uint16_t port, channel_receive_cb_t cb, const void *data, size_t len) { return (channel *)meshlink_channel_open(this, node, port, (meshlink_channel_receive_cb_t)recv, data, len); } diff --git a/src/meshlink.h b/src/meshlink.h index 89bab39a..b54e961e 100644 --- a/src/meshlink.h +++ b/src/meshlink.h @@ -29,6 +29,7 @@ extern "C" { #endif +/// The length in bytes of a signature made with meshlink_sign() #define MESHLINK_SIGLEN 64 /// A handle for an instance of MeshLink.