coan 4.2.4
The Dataset component interals.
Collaboration diagram for The Dataset component interals.:

Modules

 Macro-generated code

Files

file  dataset.c

Functions

static bool filter_filename (const char *filename)
static void build_proc (file_tree_h ft, char const *name, file_tree_traverse_state_t context)

Function Documentation

static void build_proc ( file_tree_h  ft,
char const *  name,
file_tree_traverse_state_t  context 
) [static]

The file_tree_callback_t that is called at each file and at each directory entry and exit while building the input file tree.

Parameters:
ftThe file tree representing the current input directory.
nameThe absolute name of that directory.
contextThe symbolic constant denoting the context of the call, one of:-
  • FT_ENTERING_DIR
  • FT_LEAVING_DIR
  • FT_AT_FILE

Definition at line 121 of file dataset.c.

References file_tree_count(), FT_AT_FILE, FT_COUNT_FILES, FT_ENTERING_DIR, FT_LEAVING_DIR, PROGRESS_ADDED_DIR, PROGRESS_ADDED_FILE, PROGRESS_SEARCHING_DIR, and report().

Referenced by dataset_add().

Here is the call graph for this function:

static bool filter_filename ( const char *  filename) [static]

Say whether a file is eligible for processing by matching one of the file extensions given by the --filter option.

Definition at line 86 of file dataset.c.

References GET_STATE, and PATH_DELIM.

Referenced by dataset_filter_filetypes().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines