/[LeafOK_CVS]/pvpgn-1.7.4/src/d2cs/d2ladder.h
ViewVC logotype

Contents of /pvpgn-1.7.4/src/d2cs/d2ladder.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (vendor branch)
Tue Jun 6 03:41:38 2006 UTC (19 years, 9 months ago) by sysadm
Branch: GNU, MAIN
CVS Tags: pvpgn_1-7-4-0_MIL, arelease, HEAD
Changes since 1.1: +0 -0 lines
Content type: text/x-chdr
no message

1 /*
2 * Copyright (C) 2000,2001 Onlyer (onlyer@263.net)
3 * Copyright (C) 2001 sousou (liupeng.cs@263.net)
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 */
19 #ifndef INCLUDED_D2LADDER_H
20 #define INCLUDED_D2LADDER_H
21
22 #include "common/bn_type.h"
23 #include "d2cs_protocol.h"
24 #include "d2cs_d2dbs_ladder.h"
25
26 typedef struct
27 {
28 unsigned int type;
29 unsigned int len;
30 unsigned int curr_len;
31 t_d2cs_client_ladderinfo * info;
32 } t_d2ladder;
33
34 extern int d2ladder_init(void);
35 extern int d2ladder_refresh(void);
36 extern int d2ladder_destroy(void);
37 extern int d2ladder_get_ladder(unsigned int * from, unsigned int * count, unsigned int type,
38 t_d2cs_client_ladderinfo const * * info);
39 extern int d2ladder_find_character_pos(unsigned int type, char const * charname);
40
41 #endif

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1