summaryrefslogtreecommitdiffstats
path: root/libssh/server.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-08-28 21:05:24 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-08-28 21:05:24 +0200
commit29a229724bebaf1947a80a3dca252206232a0643 (patch)
tree40483f41509f34b2e487b793f63d7e2a81ed70ff /libssh/server.c
parenta9fafc32a877e42d4044a637bed87845faabe189 (diff)
downloadlibssh-29a229724bebaf1947a80a3dca252206232a0643.tar.gz
libssh-29a229724bebaf1947a80a3dca252206232a0643.tar.xz
libssh-29a229724bebaf1947a80a3dca252206232a0643.zip
Fix a few documentation issues
Diffstat (limited to 'libssh/server.c')
-rw-r--r--libssh/server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libssh/server.c b/libssh/server.c
index 7f6ecf0..ea1b926 100644
--- a/libssh/server.c
+++ b/libssh/server.c
@@ -1126,10 +1126,11 @@ char *ssh_message_channel_request_subsystem(ssh_message msg){
/** @brief defines the SSH_MESSAGE callback
* @param session the current ssh session
- * @param ssh_message_callback_ a function pointer to a callback taking the
+ * @param[in] ssh_message_callback_ a function pointer to a callback taking the
* current ssh session and received message as parameters. the function returns
* 0 if the message has been parsed and treated sucessfuly, 1 otherwise (libssh
* must take care of the response).
+ * @param[in] data void pointer to be passed to callback functions
*/
void ssh_set_message_callback(ssh_session session,
int(*ssh_message_callback_)(ssh_session session, ssh_message msg, void *data), void *data){