diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-12-09 19:43:16 +0100 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-12-09 19:43:16 +0100 |
commit | 64b72f8d3a5165e02e19a302a85cc196698edcfa (patch) | |
tree | 5daaf2b2b945868b82e07a2c819d7c375c2f701a | |
parent | ffc9806e6dd0164a1498777b4add13c56d2957a6 (diff) | |
download | libssh-64b72f8d3a5165e02e19a302a85cc196698edcfa.tar.gz libssh-64b72f8d3a5165e02e19a302a85cc196698edcfa.tar.xz libssh-64b72f8d3a5165e02e19a302a85cc196698edcfa.zip |
Fix some doxygen errors
-rw-r--r-- | include/libssh/server.h | 9 | ||||
-rw-r--r-- | libssh/server.c | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/include/libssh/server.h b/include/libssh/server.h index a235ffa6..9bfade62 100644 --- a/include/libssh/server.h +++ b/include/libssh/server.h @@ -59,11 +59,14 @@ typedef struct ssh_bind_struct* ssh_bind; LIBSSH_API ssh_bind ssh_bind_new(void); /** - * @brief Set the opitons for the current SSH server bind. + * @brief Set the options for the current SSH server bind. * - * @param ssh_bind The ssh server bind to use. + * @param sshbind The ssh server bind to configure. * - * @param options The option structure to set. + * @param type Option to set up. + * @param value Value to set. + * @returns SSH_OK No error. + * @returns SSH_ERROR Invalid option or parameter. */ LIBSSH_API int ssh_bind_options_set(ssh_bind sshbind, enum ssh_bind_options_e type, const void *value); diff --git a/libssh/server.c b/libssh/server.c index ee00f7c1..d42d5b1a 100644 --- a/libssh/server.c +++ b/libssh/server.c @@ -858,7 +858,7 @@ 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 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). |