aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2010-04-04 14:07:54 +0200
committerAndreas Schneider <mail@cynapses.org>2010-04-04 14:07:54 +0200
commitb1f93f600e37a83648c7693efc73647cb1e4e674 (patch)
tree95b5afad99090555f222134cc5ac1a65d0e9963d
parent28edbe1ef572801e113251d836d3cacbc6c17f12 (diff)
downloadlibssh-b1f93f600e37a83648c7693efc73647cb1e4e674.tar.gz
libssh-b1f93f600e37a83648c7693efc73647cb1e4e674.tar.xz
libssh-b1f93f600e37a83648c7693efc73647cb1e4e674.zip
Fixed documentation of ssh_bind_options_set.
-rw-r--r--include/libssh/server.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/libssh/server.h b/include/libssh/server.h
index a235ffa6..787fbccd 100644
--- a/include/libssh/server.h
+++ b/include/libssh/server.h
@@ -61,9 +61,13 @@ LIBSSH_API ssh_bind ssh_bind_new(void);
/**
* @brief Set the opitons for the current SSH server bind.
*
- * @param ssh_bind The ssh server bind to use.
+ * @param sshbind The ssh server bind to use.
*
- * @param options The option structure to set.
+ * @param type The option type to set.
+ *
+ * @param value The option value to set.
+ *
+ * @return 0 on success, < 0 on error.
*/
LIBSSH_API int ssh_bind_options_set(ssh_bind sshbind,
enum ssh_bind_options_e type, const void *value);