![]() |
![]() |
![]() |
Tracker Miner Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <libtracker-miner/tracker-miner-enums.h> enum TrackerDirectoryFlags; enum TrackerFilterPolicy; enum TrackerFilterType;
typedef enum { TRACKER_DIRECTORY_FLAG_NONE = 0, TRACKER_DIRECTORY_FLAG_RECURSE = 1 << 1, TRACKER_DIRECTORY_FLAG_CHECK_MTIME = 1 << 2, TRACKER_DIRECTORY_FLAG_MONITOR = 1 << 3, TRACKER_DIRECTORY_FLAG_IGNORE = 1 << 4, TRACKER_DIRECTORY_FLAG_PRESERVE = 1 << 5 } TrackerDirectoryFlags;
Flags used when adding a new directory to be indexed in the TrackerIndexingTree.
No flags. | |
Should recurse in the directory. | |
Should check mtimes of items in the directory. | |
Should setup monitors in the items found in the directory. | |
Should ignore the directory contents. | |
Should preserve items in the directory even if the directory gets removed. |
typedef enum { TRACKER_FILTER_POLICY_DENY, TRACKER_FILTER_POLICY_ACCEPT } TrackerFilterPolicy;
Flags used when defining default filter policy in the TrackerIndexingTree.
typedef enum { TRACKER_FILTER_FILE, TRACKER_FILTER_DIRECTORY, TRACKER_FILTER_PARENT_DIRECTORY } TrackerFilterType;
Flags used when adding a new filter in the TrackerIndexingTree.