aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-01-21 21:49:28 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-02-18 23:50:46 +0100
commitb3051223fcafc954767058811d279f5b6941a9ba (patch)
tree4eb1e30d423823f300112e45ac37cfc16a4e3f0d /include
parent76c04748d7b3fec12ed81d464a1e6121181dec99 (diff)
fstree_from_dir: add filtering flags to skip certain inode types
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include')
-rw-r--r--include/fstree.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/fstree.h b/include/fstree.h
index f6ff75f..193cecb 100644
--- a/include/fstree.h
+++ b/include/fstree.h
@@ -23,6 +23,14 @@ enum {
DIR_SCAN_ONE_FILESYSTEM = 0x02,
DIR_SCAN_NO_RECURSION = 0x04,
+
+ DIR_SCAN_NO_SOCK = 0x0008,
+ DIR_SCAN_NO_SLINK = 0x0010,
+ DIR_SCAN_NO_FILE = 0x0020,
+ DIR_SCAN_NO_BLK = 0x0040,
+ DIR_SCAN_NO_DIR = 0x0080,
+ DIR_SCAN_NO_CHR = 0x0100,
+ DIR_SCAN_NO_FIFO = 0x0200,
};
#define FSTREE_MODE_HARD_LINK (0)