Changeset 1148
Legend:
- Unmodified
- Added
- Removed
-
trunk/README
r1115 r1148 30 30 CS_ANTICASC - enable anti-cascading 31 31 CS_LOGHISTORY - enable log history 32 CS_WITH_GBOX - enable gbox support 32 33 HAVE_DVBAPI - enable DVB API support 33 34 -
trunk/globals.h
r1137 r1148 561 561 int waitforcards; 562 562 int preferlocalcards; 563 uchar gbox_pwd[8]; 564 uchar ignorefile[512]; 565 uchar cardfile[512]; 566 uchar gbxShareOnl[512]; 567 int maxdist; 568 int num_locals; 563 #ifdef CS_WITH_GBOX 564 uchar gbox_pwd[8]; 565 uchar ignorefile[512]; 566 uchar cardfile[512]; 567 uchar gbxShareOnl[512]; 568 int maxdist; 569 int num_locals; 569 570 unsigned long locals[CS_MAXLOCALS]; 571 #endif 570 572 //struct s_irdeto_quess *itab[0xff]; 571 573 #ifdef HAVE_DVBAPI -
trunk/oscam-config.c
r1125 r1148 29 29 TAG_CS357X, // camd 3.5x UDP 30 30 TAG_CS378X, // camd 3.5x TCP 31 #ifdef CS_WITH_GBOX 31 32 TAG_GBOX, // gbox 33 #endif 32 34 TAG_CCCAM, // cccam 33 35 TAG_DVBAPI … … 38 40 39 41 static char *cctag[]={"global", "monitor", "camd33", "camd35", 40 "newcamd", "radegast", "serial", "cs357x", "cs378x", "gbox", "cccam", "dvbapi", 42 "newcamd", "radegast", "serial", "cs357x", "cs378x", 43 #ifdef CS_WITH_GBOX 44 "gbox", 45 #endif 46 "cccam", "dvbapi", 41 47 #ifdef CS_ANTICASC 42 48 "anticasc", … … 501 507 } 502 508 509 #ifdef CS_WITH_GBOX 503 510 static void chk_t_gbox(char *token, char *value) 504 511 { … … 524 531 fprintf(stderr, "Warning: keyword '%s' in gbox section not recognized\n",token); 525 532 } 533 #endif 526 534 527 535 static void chk_t_cccam(char *token, char *value) … … 557 565 case TAG_SERIAL : chk_t_serial(token, value); break; 558 566 case TAG_CS378X : chk_t_camd35_tcp(token, value); break; 567 #ifdef CS_WITH_GBOX 559 568 case TAG_GBOX : chk_t_gbox(token, value); break; 569 #endif 560 570 case TAG_CCCAM : chk_t_cccam(token, value); break; 561 571 #ifdef HAVE_DVBAPI … … 1076 1086 return; 1077 1087 } 1088 #ifdef CS_WITH_GBOX 1078 1089 if (!strcmp(token, "password")) { strncpy((char *)rdr->gbox_pwd, (const char *)i2b(4, a2i(value, 4)), 4); return; } 1079 1090 if (!strcmp(token, "premium")) { rdr->gbox_prem=1; return; } 1091 #endif 1080 1092 if (!strcmp(token, "account")) 1081 1093 {
Note:
See TracChangeset
for help on using the changeset viewer.