1 /** 2 ** Server.h - Server functions. 3 ** 4 ** Written: 5/3/2001 - JSF 5 **/ 6 7 #ifndef INCL_SERVER 8 #define INCL_SERVER 1 9 /* 10 Copyright (C) 2000-2013 The Exult Team 11 12 This program is free software; you can redistribute it and/or 13 modify it under the terms of the GNU General Public License 14 as published by the Free Software Foundation; either version 2 15 of the License, or (at your option) any later version. 16 17 This program is distributed in the hope that it will be useful, 18 but WITHOUT ANY WARRANTY; without even the implied warranty of 19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 GNU General Public License for more details. 21 22 You should have received a copy of the GNU General Public License 23 along with this program; if not, write to the Free Software 24 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 25 */ 26 27 /* 28 * For the time being, we'll only inflict this on X users. 29 */ 30 #ifdef USE_EXULTSTUDIO 31 32 using Message_handler = void (*)(int &); 33 34 extern int client_socket; 35 extern void Server_init(); 36 extern void Server_delay(Message_handler handle_message); 37 extern void Server_delay(); 38 extern void Server_close(); 39 40 #endif /* USE_EXULTSTUDIO */ 41 42 #endif /* INCL_SERVER */ 43