Changeset 1716 for trunk/globals.h
- Timestamp:
- 02/26/10 15:26:40 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/globals.h
r1715 r1716 358 358 struct s_client 359 359 { 360 pid_t 361 in_addr_t 362 in_port_t 363 time_t 364 time_t 365 time_t 366 time_t 367 time_t 368 time_t 369 int 370 int 371 int 372 ulong 373 int 374 int 375 int 376 int 377 int 378 int 379 CAIDTAB 380 TUNTAB 381 ulong 382 ulong 383 int 384 int 385 int 386 int 387 int 388 int 389 int 390 char 391 int 392 int 393 struct 394 int 395 int 396 int 397 int 398 int 399 int 400 int 401 int 360 pid_t pid; 361 in_addr_t ip; 362 in_port_t port; 363 time_t login; 364 time_t last; 365 time_t lastswitch; 366 time_t lastemm; 367 time_t lastecm; 368 time_t expirationdate; 369 int c35_suppresscmd08; 370 int ncd_keepalive; 371 int disabled; 372 ulong grp; 373 int crypted; 374 int dup; 375 int au; 376 int autoau; 377 int monlvl; 378 int dbglvl; 379 CAIDTAB ctab; 380 TUNTAB ttab; 381 ulong sidtabok; // positiv services 382 ulong sidtabno; // negative services 383 int typ; 384 int ctyp; 385 int stat; 386 int ufd; 387 int last_srvid; 388 int last_caid; 389 int tosleep; 390 char usr[32]; 391 int udp_fd; 392 int fd_m2c; 393 struct sockaddr_in udp_sa; 394 int log; 395 int logcounter; 396 int cwfound; // count found ECMs per client 397 int cwcache; // count ECMs from cache1/2 per client 398 int cwnot; // count not found ECMs per client 399 int cwtun; // count betatunneled ECMs per client 400 int cwignored; // count ignored ECMs per client 401 int cwtout; // count timeouted ECMs per client 402 402 int cwlastresptime; //last Responsetime (ms) 403 #ifdef WEBIF 403 404 int emmok; // count EMM ok 404 405 int emmnok; // count EMM nok 405 406 int wihidden; // hidden in webinterface status 406 uchar ucrc[4]; // needed by monitor and used by camd35 407 ulong pcrc; // pwd crc 408 AES_KEY aeskey; // needed by monitor and used by camd33, camd35 409 ushort ncd_msgid; 410 uchar ncd_skey[16]; 411 void *cc; 412 int port_idx; // index in server ptab 413 int ncd_server; // newcamd server? 407 #endif 408 uchar ucrc[4]; // needed by monitor and used by camd35 409 ulong pcrc; // pwd crc 410 AES_KEY aeskey; // needed by monitor and used by camd33, camd35 411 ushort ncd_msgid; 412 uchar ncd_skey[16]; 413 void *cc; 414 int port_idx; // index in server ptab 415 int ncd_server; // newcamd server 414 416 #ifdef CS_ANTICASC 415 ushort 416 ushort 417 uchar 418 #endif 419 FTAB 420 FTAB 421 CLASSTAB 417 ushort ac_idx; 418 ushort ac_limit; 419 uchar ac_penalty; 420 #endif 421 FTAB fchid; 422 FTAB ftab; // user [caid] and ident filter 423 CLASSTAB cltab; 422 424 }; 423 425 … … 470 472 int rewritemm; 471 473 int card_status; 472 474 int deprecated; //if 0 ATR obeyed, if 1 default speed (9600) is chosen; for devices that cannot switch baudrate 473 475 struct s_module ph; 474 476 uchar ncd_key[16]; … … 671 673 int waitforcards; 672 674 int preferlocalcards; 675 673 676 #ifdef CS_WITH_GBOX 674 677 uchar gbox_pwd[8]; … … 680 683 unsigned long locals[CS_MAXLOCALS]; 681 684 #endif 685 682 686 #ifdef IRDETO_GUESSING 683 687 struct s_irdeto_quess *itab[0xff]; 684 688 #endif 689 685 690 #ifdef HAVE_DVBAPI 686 int 687 int 691 int dvbapi_enabled; 692 int dvbapi_au; 688 693 char dvbapi_usr[33]; 689 694 char dvbapi_boxtype[20]; … … 691 696 char dvbapi_ignore[64]; 692 697 #endif 698 693 699 #ifdef CS_ANTICASC 694 700 char ac_enabled; 695 int 696 int 697 int 698 int 699 int 700 int 701 int ac_users; // num of users for account (0 - default) 702 int ac_stime; // time to collect AC statistics (3 min - default) 703 int ac_samples; // qty of samples 704 int ac_penalty; // 0 - write to log 705 int ac_fakedelay; // 100-1000 ms 706 int ac_denysamples; 701 707 char ac_logfile[128]; 702 708 struct s_cpmap *cpmap; … … 729 735 struct timeb tps; // incoming time stamp 730 736 uchar locals_done; 731 ushort gbxCWFrom; 732 ushort gbxFrom; 733 ushort gbxTo; 734 735 uchar gbxForward[16]; 736 int gbxRidx; 737 738 #ifdef CS_WITH_GBOX 739 ushort gbxCWFrom; 740 ushort gbxFrom; 741 ushort gbxTo; 742 uchar gbxForward[16]; 743 int gbxRidx; 744 #endif 745 737 746 } GCC_PACK ECM_REQUEST; 738 747 … … 981 990 extern void module_radegast(struct s_module *); 982 991 extern void module_oscam_ser(struct s_module *); 992 extern void module_cccam(struct s_module *); 993 extern struct timeval *chk_pending(struct timeb tp_ctimeout); 994 #ifdef CS_WITH_GBOX 983 995 extern void module_gbox(struct s_module *); 984 extern void module_cccam(struct s_module *); 996 #endif 985 997 #ifdef HAVE_DVBAPI 986 998 extern void module_dvbapi(struct s_module *); 987 999 #endif 988 extern struct timeval *chk_pending(struct timeb tp_ctimeout); 1000 989 1001 990 1002 // module-monitor
Note:
See TracChangeset
for help on using the changeset viewer.