Changeset 4977 for trunk/globals.h
- Timestamp:
- 04/11/11 23:09:56 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/globals.h
r4969 r4977 606 606 char msglog[MSGLOGSIZE]; 607 607 } ECM_REQUEST; 608 609 #ifdef CS_ANTICASC 610 struct s_acasc_shm { 611 ushort ac_count : 15; 612 ushort ac_deny : 1; 613 }; 614 615 struct s_acasc { 616 ushort stat[10]; 617 uchar idx; // current active index in stat[] 618 }; 619 #endif 608 620 609 621 struct s_client … … 672 684 int ncd_server; // newcamd server 673 685 #ifdef CS_ANTICASC 674 ushort ac_idx;675 686 ushort ac_limit; 676 uchar ac_penalty;687 struct s_acasc_shm acasc; 677 688 #endif 678 689 FTAB fchid; … … 947 958 948 959 #ifdef CS_ANTICASC 949 950 struct s_acasc_shm {951 ushort ac_count : 15;952 ushort ac_deny : 1;953 };954 955 struct s_acasc {956 ushort stat[10];957 uchar idx; // current active index in stat[]958 };959 960 960 struct s_cpmap 961 961 { … … 990 990 TUNTAB ttab; 991 991 #ifdef CS_ANTICASC 992 int ac_idx;993 int ac_users; // 0 - unlimited994 uchar ac_penalty; // 0 - log, >0 - fake dw992 int ac_users; // 0 - unlimited 993 uchar ac_penalty; // 0 - log, >0 - fake dw 994 struct s_acasc ac_stat; 995 995 #endif 996 996 in_addr_t dynip; … … 1432 1432 extern int ac_init_log(); 1433 1433 extern void ac_do_stat(void); 1434 extern void ac_init_client(struct s_ auth *);1435 extern void ac_chk( ECM_REQUEST*, int);1434 extern void ac_init_client(struct s_client *, struct s_auth *); 1435 extern void ac_chk(struct s_client *,ECM_REQUEST*, int); 1436 1436 #endif 1437 1437
Note:
See TracChangeset
for help on using the changeset viewer.