Used to define a set of files to search or index
struct dtsFileSpec { const char * includeFilters; const char * excludeFilters; char dir[FileNameLen]; char dirListName[FileNameLen]; char fileListName[FileNameLen]; const char * dirList; };
dtsearch.h
fileListName provides a way to simply pass a list of files to search or index.
Alternatively, the calling program can ask dtSearch to list the files in one directory (the dir member) or in a list of directories (the dirListName member), using the supplied include and exclude filters.
To specify a directory and all subdirectories, add a <+> symbol at the end, like this: C:DOCS<+>
|
Data Member |
Description |
|
Directory to scan using the filters. | |
|
Null-delimited string set containing list of directories to scan using the filters | |
|
Name of file containing list of directories to scan using the filters | |
|
Filename filters used to exclude files in selected directories. | |
|
Name of file containing list of files. | |
|
Filename filters to apply to files in the directories selected. |
|
Method |
Description |
|
Clear all data | |
|
Copy data from another dtsFileSpec (shallow copy) | |
|
Constructor |
|
Data Member |
|
Method |
|
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.
|