diff options
Diffstat (limited to 'libssh/server.c')
-rw-r--r-- | libssh/server.c | 12 |
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; } - +/** @} + */ |