src/filed/job.c
findINCEXE *new_include(JCR *jcr)
{
   findFILESET *fileset = jcr->ff->fileset;

   /* New include */
   fileset->incexe = (findINCEXE *)malloc(sizeof(findINCEXE));
   memset(fileset->incexe, 0, sizeof(findINCEXE));
   fileset->incexe->opts_list.init(1, true);
   fileset->incexe->name_list.init(); /* for dlist;  was 1,true for alist */
   fileset->incexe->plugin_list.init();
   fileset->include_list.append(fileset->incexe);
   return fileset->incexe;
}
/**
 * Define a new Include block in the FileSet
 */
Define a new Include block in the FileSet
Define a new Include block in the FileSet
findINCEXE *new_include(JCR *jcr)
{
   findFILESET *fileset = jcr->ff->fileset;
   fileset->incexe = (findINCEXE *)malloc(sizeof(findINCEXE));
   memset(fileset->incexe, 0, sizeof(findINCEXE));
   fileset->incexe->opts_list.init(1, true);
   fileset->incexe->name_list.init(); 
   fileset->incexe->plugin_list.init();
   fileset->include_list.append(fileset->incexe);
   return fileset->incexe;
}
findINCEXE * new_include ( JCR * jcr ) { findFILESET * fileset = jcr -> ff -> fileset ; fileset -> incexe = ( findINCEXE * ) malloc ( sizeof ( findINCEXE ) ) ; memset ( fileset -> incexe , 0 , sizeof ( findINCEXE ) ) ; fileset -> incexe -> opts_list . init ( 1 , true ) ; fileset -> incexe -> name_list . init ( ) ; fileset -> incexe -> plugin_list . init ( ) ; fileset -> include_list . append ( fileset -> incexe ) ; return fileset -> incexe ; }
Define a new Include block in the FileSet
Define a new Include block in the FileSet
/* New include */ /* for dlist;  was 1,true for alist */