1 /* 2 Copyright 2004 Aris Adamantiadis 3 4 This file is part of the SSH Library 5 6 The SSH Library is free software; you can redistribute it and/or modify 7 it under the terms of the GNU Lesser General Public License as published by 8 the Free Software Foundation; either version 2.1 of the License, or (at your 9 option) any later version. 10 11 The SSH Library is distributed in the hope that it will be useful, but 12 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 13 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 14 License for more details. 15 16 You should have received a copy of the GNU Lesser General Public License 17 along with the SSH Library; see the file COPYING. If not, write to 18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, 19 MA 02111-1307, USA. */ 20 21 #ifndef SERVER_H 22 #define SERVER_H 23 /* the client banner doesn't say hey! look i'm a client ! */ 24 #include "libssh/libssh.h" 25 #define SERVERBANNER CLIENTBANNER 26 27 int bind_socket(); 28 int listen_socket(int s); 29 int accept_socket(int s); 30 SSH_SESSION *getserver(SSH_OPTIONS * options); 31 int server_set_kex(SSH_SESSION * session); 32 33 #endif |