From 64e73b8d8ab216c5dd8812c8cdad39b7f1bfc4d2 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Tue, 4 Nov 2008 21:59:12 +0000 Subject: doxygen fixes. Mostly typos and some comments. sftp must be fully documented ! git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@187 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/server.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'libssh/server.c') diff --git a/libssh/server.c b/libssh/server.c index 538ec80a..59ffcd76 100644 --- a/libssh/server.c +++ b/libssh/server.c @@ -19,8 +19,11 @@ along with the SSH Library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* from times to times, you need to serve your friends */ -/* and, perhaps, ssh connections. */ +/** + * \defgroup ssh_server SSH Server + * \addtogroup ssh_server + * @{ + */ #include #include @@ -63,7 +66,7 @@ static socket_t bind_socket(SSH_BIND *ssh_bind,char *hostname, int port) { close(s); return -1; } - + memset(&myaddr, 0, sizeof(myaddr)); memcpy(&myaddr.sin_addr,hp->h_addr,hp->h_length); myaddr.sin_family=hp->h_addrtype; @@ -296,4 +299,5 @@ int ssh_accept(SSH_SESSION *session){ session->connected=1; return 0; } - +/** @} + */ -- cgit