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

Modules

 Macro-generated code

Files

file  dataset.c
file  dataset.h

Functions

void dataset_filter_filetypes (const char *list)
void dataset_add (char const *path)

Function Documentation

void dataset_add ( char const *  path)

Add files to the input dataset.

Parameters:
pathName of file or directory to be included in the input dataset.

If path is a file that satisfies any --filter option it is added to the input dataset.

If path is a directory then files recursively beneath it that satisfy any --filter option are added to the input dataset.

Definition at line 164 of file dataset.c.

References build_proc(), file_tree_add(), and GET_PUBLIC.

Referenced by add_files().

Here is the call graph for this function:

void dataset_filter_filetypes ( const char *  list)

Parse the argument to the --filter option - a comma separated list of file extensions - and store these extensions internally for filtering files added to the input dataset.

Definition at line 149 of file dataset.c.

References file_tree_set_filter(), filter_filename(), GET_PUBLIC, SET_STATE, and zallocate().

Referenced by parse_command_args().

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines