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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Tue Jun 13 16:07:52 2006 UTC (19 years, 9 months ago) by sysadm
Branch: MAIN
CVS Tags: pvpgn_1-7-4-0_MIL, HEAD
Changes since 1.1: +1 -0 lines
Content type: text/x-chdr
Antibot (for non-password protected game)

1 #ifndef INCLUDED_D2CHARSTATUS_H
2 #define INCLUDED_D2CHARSTATUS_H
3
4 #include "common/queue.h"
5 #include "common/hashtable.h"
6 #include "common/packet.h"
7 #include "common/fdwatch.h"
8 #include "d2charfile.h"
9 #include "gamequeue.h"
10
11 typedef struct
12 {
13 char const * charname;
14 unsigned int charname_hash;
15
16 int checknum_error_flag;
17 int frequently_create_count;
18 time_t last_create_time;
19 time_t ban_begin_time;
20
21 } t_charstatus;
22
23 static unsigned int charname_hash(char const * charname);
24 extern t_hashtable * charstatus_list(void);
25 extern int charstatus_list_create(void);
26 extern int charstatus_list_destroy(void);
27 extern int charstatus_list_cleanup(void);
28 extern t_charstatus * charstatus_create(const char * charname);
29 extern int charstatus_destroy(t_charstatus * c, t_elem ** curr);
30 extern t_charstatus * charstatus_list_find_charstatus_by_charname(char const * charname);
31 extern int charstatus_list_dump(const char * dumpfile);
32
33 #endif

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