Debian Codegraph @

src/d2cs/serverqueue.h

raw symbols SCIP
1 /*
2 * Copyright (C) 2000,2001 Onlyer ([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_SERVERQUEUE_H
19 #define INCLUDED_SERVERQUEUE_Hcxx . . $ `src/d2cs/serverqueue.h:19:9`!
20
21 #include "common/list.h"cxx . . $ `<file>/src/common/list.h`/
22 #include "common/packet.h"cxx . . $ `<file>/src/common/packet.h`/
23
24 namespace pvpgncxx . . $ pvpgn/
25 {
26
27 namespace d2cscxx . . $ pvpgn/d2cs/
28 {
29
30 typedef struct serverqueuecxx . . $ pvpgn/d2cs/serverqueue#
31 {
32 unsigned int seqnocxx . . $ pvpgn/d2cs/serverqueue#seqno.;
33 unsigned int ctimecxx . . $ pvpgn/d2cs/serverqueue#ctime.;
34 unsigned int clientidcxx . . $ pvpgn/d2cs/serverqueue#clientid.;
35 t_packetcxx . . $ pvpgn/t_packet# * packetcxx . . $ pvpgn/d2cs/serverqueue#packet.;
36 unsigned int gameidcxx . . $ pvpgn/d2cs/serverqueue#gameid.;
37 unsigned int gametokencxx . . $ pvpgn/d2cs/serverqueue#gametoken.;
38 } t_sqcxx . . $ pvpgn/d2cs/t_sq#;
39
40 extern t_listcxx . . $ pvpgn/t_list# * sqlistcxx . . $ pvpgn/d2cs/sqlist(7a6cb11de248e2c9).(void);
41 extern int sqlist_createcxx . . $ pvpgn/d2cs/sqlist_create(b126dc7c1de90089).(void);
42 extern int sqlist_destroycxx . . $ pvpgn/d2cs/sqlist_destroy(b126dc7c1de90089).(void);
43
44 extern int sq_destroycxx . . $ pvpgn/d2cs/sq_destroy(211ea308ebfa0f0e).(t_sqcxx . . $ pvpgn/d2cs/t_sq# * sq, t_elemcxx . . $ pvpgn/t_elem# ** curr);
45 extern int sqlist_check_timeoutcxx . . $ pvpgn/d2cs/sqlist_check_timeout(b126dc7c1de90089).(void);
46 extern t_sqcxx . . $ pvpgn/d2cs/t_sq# * sqlist_find_sqcxx . . $ pvpgn/d2cs/sqlist_find_sq(e493466095b7404b).(unsigned int seqno);
47 extern t_sqcxx . . $ pvpgn/d2cs/t_sq# * sq_createcxx . . $ pvpgn/d2cs/sq_create(5729c0f3ffc7f2dd).(unsigned int clientid, t_packetcxx . . $ pvpgn/t_packet# * packet, unsigned int gameid);
48
49 extern unsigned int sq_get_clientidcxx . . $ pvpgn/d2cs/sq_get_clientid(b4250823e36b6ab).(t_sqcxx . . $ pvpgn/d2cs/t_sq# const * sq);
50 extern unsigned int sq_get_gameidcxx . . $ pvpgn/d2cs/sq_get_gameid(b4250823e36b6ab).(t_sqcxx . . $ pvpgn/d2cs/t_sq# const * sq);
51 extern unsigned int sq_get_seqnocxx . . $ pvpgn/d2cs/sq_get_seqno(b4250823e36b6ab).(t_sqcxx . . $ pvpgn/d2cs/t_sq# const * sq);
52 extern int sq_set_gametokencxx . . $ pvpgn/d2cs/sq_set_gametoken(7475dc365c93b47d).(t_sqcxx . . $ pvpgn/d2cs/t_sq# * sq, unsigned int gametoken);
53 extern unsigned int sq_get_gametokencxx . . $ pvpgn/d2cs/sq_get_gametoken(b4250823e36b6ab).(t_sqcxx . . $ pvpgn/d2cs/t_sq# const * sq);
54 extern t_packetcxx . . $ pvpgn/t_packet# * sq_get_packetcxx . . $ pvpgn/d2cs/sq_get_packet(cc7363a0c7bb9fd0).(t_sqcxx . . $ pvpgn/d2cs/t_sq# const * sq);
55
56 }
57
58 }
59
60 #endif