Ignore:
Timestamp:
02/22/10 20:42:13 (11 years ago)
Author:
alno
Message:

WebIf:

  • implement clear_caidtab() in simples for later usage in webif
File:
1 edited

Legend:

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

    r1587 r1655  
    490490}
    491491
     492/* Clears given caidtab */
     493void clear_caidtab(struct s_caidtab *ctab){
     494    int i;
     495    for (i = 0; i < CS_MAXCAIDTAB; i++) {
     496        ctab->caid[i] = 0;
     497        ctab->mask[i] = 0;
     498        ctab->cmap[i] = 0;
     499    }
     500}
     501
    492502/* Overwrites destfile with tmpfile. If forceBakOverWrite = 0, the bakfile will not be overwritten if it exists, else it will be.*/
    493503int safe_overwrite_with_bak(char *destfile, char *tmpfile, char *bakfile, int forceBakOverWrite){
Note: See TracChangeset for help on using the changeset viewer.