src/siri/db/series.c
/*
 * Open SiriDB drop series file.
 *
 * Returns 0 if successful or -1 in case of an error.
 */
Open SiriDB drop series file.
Returns 0 if successful or -1 in case of an error.
Open SiriDB drop series file . Returns 0 if successful or - 1 in case of an error .
static int SERIES_open_dropped_file(siridb_t * siridb)
{
    SIRIDB_GET_FN(fn, siridb->dbpath, SIRIDB_DROPPED_FN)
    if ((siridb->dropped_fp = fopen(fn, "a")) == NULL)
    {
        log_critical("Cannot open '%s' for appending", fn);
        return -1;
    }
    return 0;
}
static int SERIES_open_dropped_file ( siridb_t * siridb ) { SIRIDB_GET_FN ( fn , siridb -> dbpath , SIRIDB_DROPPED_FN ) if ( ( siridb -> dropped_fp = fopen ( fn , " " ) ) == NULL ) { log_critical ( " " , fn ) ; return -1 ; } return 0 ; }
Open SiriDB drop series file.
Open SiriDB drop series file .