src/filed/estimate.c
int make_estimate(JCR *jcr)
{
   int stat;

   jcr->setJobStatus(JS_Running);

   set_find_options((FF_PKT *)jcr->ff, jcr->incremental, jcr->mtime);
   /* in accurate mode, we overwrite the find_one check function */
   if (jcr->accurate) {
      set_find_changed_function((FF_PKT *)jcr->ff, accurate_check_file);
   }

   stat = find_files(jcr, (FF_PKT *)jcr->ff, tally_file, plugin_estimate);
   accurate_free(jcr);
   return stat;
}
/*
 * Find all the requested files and count them.
 */
Find all the requested files and count them.
Find all the requested files and count them .
int make_estimate(JCR *jcr)
{
   int stat;
   jcr->setJobStatus(JS_Running);
   set_find_options((FF_PKT *)jcr->ff, jcr->incremental, jcr->mtime);
   if (jcr->accurate) {
      set_find_changed_function((FF_PKT *)jcr->ff, accurate_check_file);
   }
   stat = find_files(jcr, (FF_PKT *)jcr->ff, tally_file, plugin_estimate);
   accurate_free(jcr);
   return stat;
}
int make_estimate ( JCR * jcr ) { int stat ; jcr -> setJobStatus ( JS_Running ) ; set_find_options ( ( FF_PKT * ) jcr -> ff , jcr -> incremental , jcr -> mtime ) ; if ( jcr -> accurate ) { set_find_changed_function ( ( FF_PKT * ) jcr -> ff , accurate_check_file ) ; } stat = find_files ( jcr , ( FF_PKT * ) jcr -> ff , tally_file , plugin_estimate ) ; accurate_free ( jcr ) ; return stat ; }
Find all the requested files and count them.
Find all the requested files and count them .
/* in accurate mode, we overwrite the find_one check function */