From 44b54704433753599ff246e4461556afef645a5d Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Mon, 6 Nov 2006 22:58:58 +0000 Subject: at least I get a working doxygen documentation. I am going to make the whole documentation as doxygen files. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@77 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/options.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'libssh/options.c') diff --git a/libssh/options.c b/libssh/options.c index 813e3ad3..53a62854 100644 --- a/libssh/options.c +++ b/libssh/options.c @@ -27,7 +27,22 @@ MA 02111-1307, USA. */ #include #include "libssh/priv.h" -/* by default, ssh1 support is not allowed */ +/** defgroup ssh_options + * \brief options settings for a new ssh session + */ +/** \addtogroup ssh_options + * @{ */ + +/** This structure is freed automaticaly by ssh_disconnect() + * when you use it. \n + * It can be used by only one ssh_connect(), not more.\n + * also by default, ssh1 support is not allowed + * + * \brief initializes a new option structure + * \returns an empty intialized option structure. + * \see ssh_getopt() +*/ + SSH_OPTIONS *ssh_options_new(){ SSH_OPTIONS *option=malloc(sizeof(SSH_OPTIONS)); memset(option,0,sizeof(SSH_OPTIONS)); @@ -401,3 +416,7 @@ int ssh_options_getopt(SSH_OPTIONS *options, int *argcptr, char **argv){ } else return 0 ; } + + + +/** @} */ -- cgit v1.2.3