Ignore:
Timestamp:
Sep 24, 2007, 3:04:43 AM (12 years ago)
Author:
Bruno Cornec
Message:

Render bkpinfo global (potential issue on thread, but should not be a problem as that structure is indeed static during archive)
Should solve the tmpdir issue from previous rev.
May still not compile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mondo/src/common/libmondo-filelist.c

    r1644 r1645  
    138138extern char *MONDO_LOGFILE;
    139139
     140/* Reference to global bkpinfo */
     141extern struct s_bkpinfo *bkpinfo;
     142
    140143
    141144int mondo_makefilelist(char *logfile, char *tmpdir, char *scratchdir,
     
    183186 * @see chop_filelist
    184187 */
    185 int call_filelist_chopper(struct s_bkpinfo *bkpinfo)
     188int call_filelist_chopper()
    186189{
    187190    /*@ buffers *********************** */
     
    219222        chop_filelist(filelist, bkpinfo->tmpdir,
    220223                      bkpinfo->optimal_set_size);
    221     estimate_noof_media_required(bkpinfo, noof_sets);   // for cosmetic purposes
     224    estimate_noof_media_required(noof_sets);    // for cosmetic purposes
    222225
    223226    sprintf(tempfile, "%s/biggielist.txt", bkpinfo->tmpdir);
     
    822825 * @note This function should only be called at restore-time.
    823826 */
    824 int get_last_filelist_number(struct s_bkpinfo *bkpinfo)
     827int get_last_filelist_number()
    825828{
    826829    /*@ buffers ***************************************************** */
     
    14021405 * @see mondo_makefilelist
    14031406 */
    1404 int prepare_filelist(struct s_bkpinfo *bkpinfo)
     1407int prepare_filelist()
    14051408{
    14061409
Note: See TracChangeset for help on using the changeset viewer.