Ignore:
Timestamp:
02/24/10 00:30:20 (11 years ago)
Author:
alno
Message:

WebIf:

  • add function clear_tuntab() to simples
  • some changings in monitor module setuser
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/monitor-improvement/oscam-simples.c

    r1655 r1665  
    500500}
    501501
     502/* Clears given tuntab */
     503void clear_tuntab(struct s_tuntab *ttab){
     504    int i;
     505    for (i = 0; i < CS_MAXTUNTAB; i++) {
     506        ttab->bt_caidfrom[i] = 0;
     507        ttab->bt_caidto[i] = 0;
     508        ttab->bt_srvid[i] = 0;
     509    }
     510}
    502511/* Overwrites destfile with tmpfile. If forceBakOverWrite = 0, the bakfile will not be overwritten if it exists, else it will be.*/
    503512int safe_overwrite_with_bak(char *destfile, char *tmpfile, char *bakfile, int forceBakOverWrite){
Note: See TracChangeset for help on using the changeset viewer.