Changeset 1617 for trunk/oscam-config.c
- Timestamp:
- 02/19/10 16:33:35 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oscam-config.c
r1616 r1617 116 116 } 117 117 118 staticvoid chk_caidtab(char *caidasc, CAIDTAB *ctab)118 void chk_caidtab(char *caidasc, CAIDTAB *ctab) 119 119 { 120 120 int i; … … 142 142 } 143 143 144 staticvoid chk_tuntab(char *tunasc, TUNTAB *ttab)144 void chk_tuntab(char *tunasc, TUNTAB *ttab) 145 145 { 146 146 int i; … … 168 168 } 169 169 170 staticvoid chk_services(char *labels, ulong *sidok, ulong *sidno)170 void chk_services(char *labels, ulong *sidok, ulong *sidno) 171 171 { 172 172 int i; … … 182 182 } 183 183 184 static 185 void chk_ftab(char *zFilterAsc, FTAB *ftab, const char *zType, const char *zName, 186 const char *zFiltName) 184 void chk_ftab(char *zFilterAsc, FTAB *ftab, const char *zType, const char *zName, const char *zFiltName) 187 185 { 188 186 int i,j; … … 226 224 } 227 225 228 staticvoid chk_cltab(char *classasc, CLASSTAB *clstab)226 void chk_cltab(char *classasc, CLASSTAB *clstab) 229 227 { 230 228 int i; … … 240 238 } 241 239 242 staticvoid chk_port_tab(char *portasc, PTAB *ptab)240 void chk_port_tab(char *portasc, PTAB *ptab) 243 241 { 244 242 int i,j,nfilts,ifilt,iport; … … 298 296 #endif 299 297 300 staticvoid chk_t_global(char *token, char *value)298 void chk_t_global(char *token, char *value) 301 299 { 302 300 if (!strcmp(token, "serverip")) { cfg->srvip=inet_addr(value); return; } … … 390 388 391 389 #ifdef CS_ANTICASC 392 staticvoid chk_t_ac(char *token, char *value)390 void chk_t_ac(char *token, char *value) 393 391 { 394 392 if (!strcmp(token, "enabled")) … … 449 447 #endif 450 448 451 staticvoid chk_t_monitor(char *token, char *value)449 void chk_t_monitor(char *token, char *value) 452 450 { 453 451 if (!strcmp(token, "port")) { cfg->mon_port=atoi(value); return; } … … 461 459 } 462 460 463 staticvoid chk_t_camd33(char *token, char *value)461 void chk_t_camd33(char *token, char *value) 464 462 { 465 463 if (!strcmp(token, "port")) { cfg->c33_port=atoi(value); return; } … … 481 479 } 482 480 483 staticvoid chk_t_camd35(char *token, char *value)481 void chk_t_camd35(char *token, char *value) 484 482 { 485 483 if (!strcmp(token, "port")) { cfg->c35_port=atoi(value); return; } … … 490 488 } 491 489 492 staticvoid chk_t_camd35_tcp(char *token, char *value)490 void chk_t_camd35_tcp(char *token, char *value) 493 491 { 494 492 if (!strcmp(token, "port")) { chk_port_tab(value, &cfg->c35_tcp_ptab); return; } … … 499 497 } 500 498 501 staticvoid chk_t_newcamd(char *token, char *value)499 void chk_t_newcamd(char *token, char *value) 502 500 { 503 501 if (!strcmp(token, "port")) { chk_port_tab(value, &cfg->ncd_ptab); return; } … … 522 520 } 523 521 524 staticvoid chk_t_cccam(char *token, char *value)522 void chk_t_cccam(char *token, char *value) 525 523 { 526 524 if (!strcmp(token, "port")) { cfg->cc_port=atoi(value); return; } … … 549 547 } 550 548 551 staticvoid chk_t_radegast(char *token, char *value)549 void chk_t_radegast(char *token, char *value) 552 550 { 553 551 if (!strcmp(token, "port")) { cfg->rad_port=atoi(value); return; } … … 559 557 } 560 558 561 staticvoid chk_t_serial(char *token, char *value)559 void chk_t_serial(char *token, char *value) 562 560 { 563 561 if (!strcmp(token, "device")) … … 600 598 601 599 #ifdef HAVE_DVBAPI 602 staticvoid chk_t_dvbapi(char *token, char *value)600 void chk_t_dvbapi(char *token, char *value) 603 601 { 604 602 if (!strcmp(token, "enabled")) { cfg->dvbapi_enabled=atoi(value); return; } … … 803 801 } 804 802 805 staticvoid chk_account(char *token, char *value, struct s_auth *account)803 void chk_account(char *token, char *value, struct s_auth *account) 806 804 { 807 805 int i; … … 1036 1034 } 1037 1035 1038 staticvoid chk_sidtab(char *token, char *value, struct s_sidtab *sidtab)1036 void chk_sidtab(char *token, char *value, struct s_sidtab *sidtab) 1039 1037 { 1040 1038 if (!strcmp(token, "caid")) { chk_entry4sidtab(value, sidtab, 0); return; }
Note:
See TracChangeset
for help on using the changeset viewer.