| 1 | /* |
| 2 | * Copyright (C) 2001 sousou ([email protected]) |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU General Public License |
| 6 | * as published by the Free Software Foundation; either version 2 |
| 7 | * of the License, or (at your option) any later version. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU General Public License |
| 15 | * along with this program; if not, write to the Free Software |
| 16 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 17 | */ |
| 18 | #ifndef INCLUDED_DBSERVER_H |
| 19 | #define INCLUDED_DBSERVER_Hcxx . . $ `src/d2dbs/dbserver.h:19:9`! |
| 20 | |
| 21 | #include "common/list.h"cxx . . $ `<file>/src/common/list.h`/ |
| 22 | |
| 23 | namespace pvpgncxx . . $ pvpgn/ |
| 24 | { |
| 25 | |
| 26 | namespace d2dbscxx . . $ pvpgn/d2dbs/ |
| 27 | { |
| 28 | |
| 29 | typedef structcxx . . $ pvpgn/d2dbs/$anonymous_type_5ec33997d1221639_0# { |
| 30 | int sdcxx . . $ pvpgn/d2dbs/$anonymous_type_5ec33997d1221639_0#sd.; |
| 31 | unsigned int ipaddrcxx . . $ pvpgn/d2dbs/$anonymous_type_5ec33997d1221639_0#ipaddr.; |
| 32 | unsigned char majorcxx . . $ pvpgn/d2dbs/$anonymous_type_5ec33997d1221639_0#major.; |
| 33 | unsigned char minorcxx . . $ pvpgn/d2dbs/$anonymous_type_5ec33997d1221639_0#minor.; |
| 34 | unsigned char typecxx . . $ pvpgn/d2dbs/$anonymous_type_5ec33997d1221639_0#type.; |
| 35 | unsigned char statscxx . . $ pvpgn/d2dbs/$anonymous_type_5ec33997d1221639_0#stats.; |
| 36 | unsigned int serveridcxx . . $ pvpgn/d2dbs/$anonymous_type_5ec33997d1221639_0#serverid.; |
| 37 | unsigned int verifiedcxx . . $ pvpgn/d2dbs/$anonymous_type_5ec33997d1221639_0#verified.; |
| 38 | unsigned char serveripcxx . . $ pvpgn/d2dbs/$anonymous_type_5ec33997d1221639_0#serverip.[16]; |
| 39 | int last_activecxx . . $ pvpgn/d2dbs/$anonymous_type_5ec33997d1221639_0#last_active.; |
| 40 | int nCharsInReadBuffercxx . . $ pvpgn/d2dbs/$anonymous_type_5ec33997d1221639_0#nCharsInReadBuffer.; |
| 41 | int nCharsInWriteBuffercxx . . $ pvpgn/d2dbs/$anonymous_type_5ec33997d1221639_0#nCharsInWriteBuffer.; |
| 42 | char ReadBufcxx . . $ pvpgn/d2dbs/$anonymous_type_5ec33997d1221639_0#ReadBuf.[kBufferSizecxx . . $ kBufferSize.]; |
| 43 | char WriteBufcxx . . $ pvpgn/d2dbs/$anonymous_type_5ec33997d1221639_0#WriteBuf.[kBufferSizecxx . . $ kBufferSize.]; |
| 44 | } t_d2dbs_connectioncxx . . $ pvpgn/d2dbs/t_d2dbs_connection#; |
| 45 | |
| 46 | typedef struct raw_preset_d2gsidcxx . . $ pvpgn/d2dbs/raw_preset_d2gsid# { |
| 47 | unsigned int ipaddrcxx . . $ pvpgn/d2dbs/raw_preset_d2gsid#ipaddr.; |
| 48 | unsigned int d2gsidcxx . . $ pvpgn/d2dbs/raw_preset_d2gsid#d2gsid.; |
| 49 | struct raw_preset_d2gsidcxx . . $ pvpgn/d2dbs/raw_preset_d2gsid# *nextcxx . . $ pvpgn/d2dbs/raw_preset_d2gsid#next.; |
| 50 | } t_preset_d2gsidcxx . . $ pvpgn/d2dbs/t_preset_d2gsid#; |
| 51 | |
| 52 | int dbs_server_maincxx . . $ pvpgn/d2dbs/dbs_server_main(b126dc7c1de90089).(void); |
| 53 | int dbs_server_shutdown_connectioncxx . . $ pvpgn/d2dbs/dbs_server_shutdown_connection(4c445778b4dc1c4d).(t_d2dbs_connectioncxx . . $ pvpgn/d2dbs/t_d2dbs_connection#* conn); |
| 54 | |
| 55 | extern t_list * dbs_server_connection_listcxx . . $ pvpgn/d2dbs/dbs_server_connection_list.; |
| 56 | |
| 57 | } |
| 58 | |
| 59 | } |
| 60 | |
| 61 | #endif |