summaryrefslogtreecommitdiffstats
path: root/src/dir.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2012-12-23 17:05:06 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2012-12-23 17:05:06 +0100
commitf4f3973bb58640cf591cc26336dbbfdf060fce4a (patch)
tree30b9ecf3b9ee3cced01a5fa019c9234d7f822a6a /src/dir.h
parent325573c938600b4f746f2a76ac989b1e2f7db345 (diff)
Hide/unhide NTFS Alternate Data Stream
Diffstat (limited to 'src/dir.h')
-rw-r--r--src/dir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dir.h b/src/dir.h
index e203bcb..ba8a0f9 100644
--- a/src/dir.h
+++ b/src/dir.h
@@ -33,8 +33,10 @@ extern "C" {
#define FLAG_LIST_MASK12 2
#define FLAG_LIST_MASK16 4
#define FLAG_LIST_PATHNAME 8
+#define FLAG_LIST_ADS 16
/* capabilities */
#define CAPA_LIST_DELETED 1
+#define CAPA_LIST_ADS 2
typedef struct dir_data dir_data_t;
typedef struct file_data file_data_t;
@@ -56,6 +58,7 @@ struct dir_data
#define FILE_STATUS_DELETED 1
#define FILE_STATUS_MARKED 2
+#define FILE_STATUS_ADS 4
/* TODO: migrate file_data to file_info */
struct file_data