1 /* bzflag 2 * Copyright (c) 1993-2021 Tim Riker 3 * 4 * This package is free software; you can redistribute it and/or 5 * modify it under the terms of the license found in the file 6 * named COPYING that should have accompanied this file. 7 * 8 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 */ 12 13 #ifndef __LISTSERVER_H__ 14 #define __LISTSERVER_H__ 15 16 #include "common.h" 17 18 /* system interface headers */ 19 #include <string> 20 21 /* common interface headers */ 22 #include "Address.h" 23 24 25 const int MaxListServers = 5; 26 typedef struct _ListServer 27 { 28 Address address; 29 int port; 30 int socket; 31 int phase; 32 std::string hostname; 33 std::string pathname; 34 int failures; 35 int bufferSize; 36 char buffer[1024]; 37 } ListServer; 38 39 40 #endif /* __LISTSERVER_H__ */ 41 42 // Local Variables: *** 43 // mode: C++ *** 44 // tab-width: 4 *** 45 // c-basic-offset: 4 *** 46 // indent-tabs-mode: nil *** 47 // End: *** 48 // ex: shiftwidth=4 tabstop=4 49