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. Deprecated: Use dirList. | |
|
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. Must point to a null-delimited string set, terminated by a double-null. If not used, initialize to 0. Filename filters containing a slash (/ or \) are matched against the full path and filename. Filename filters without a slash (/ or \) are matched against only the filename. | |
|
Name of file containing list of files. The includeFilters and excludeFilters will not apply to listed files. | |
|
Filename filters to apply to files in the directories selected. Must point to a null-delimited string set, terminated by a double-null. If not used, initialize to 0. Filename filters containing a slash (/ or \) are matched against the full path and filename. Filename filters without a slash (/ or \) are matched against only the filename. |
|
Method |
Description |
|
Clear all data | |
|
Copy data from another dtsFileSpec (shallow copy) | |
|
Constructor |
|
Data Member |
|
Method |
|
Copyright (c) 1995-2008 dtSearch Corp. All rights reserved.
|