aboutsummaryrefslogtreecommitdiff
path: root/libssh/server.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2008-11-04 21:59:12 +0000
committerAris Adamantiadis <aris@0xbadc0de.be>2008-11-04 21:59:12 +0000
commit64e73b8d8ab216c5dd8812c8cdad39b7f1bfc4d2 (patch)
tree2c5f71d247607d17b55df210adc6b75d833b3572 /libssh/server.c
parent90bb81f7b0a729f0508c02586b3d609950d24f2c (diff)
downloadlibssh-64e73b8d8ab216c5dd8812c8cdad39b7f1bfc4d2.tar.gz
libssh-64e73b8d8ab216c5dd8812c8cdad39b7f1bfc4d2.tar.xz
libssh-64e73b8d8ab216c5dd8812c8cdad39b7f1bfc4d2.zip
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
Diffstat (limited to 'libssh/server.c')
-rw-r--r--libssh/server.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/libssh/server.c b/libssh/server.c
index 538ec80..59ffcd7 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 <fcntl.h>
#include <unistd.h>
@@ -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;
}
-
+/** @}
+ */