summaryrefslogtreecommitdiff
path: root/source4/ntvfs/simple/svfs.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-04-06 08:02:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:50:41 -0500
commit19680ba4df36400cc8834795434118960d5cafc4 (patch)
treea96381d47adc41dfb7317ac781fc423898ee6b98 /source4/ntvfs/simple/svfs.h
parentf9235e0964d921cc1df7b4c4b7ab91a1c1ab4d54 (diff)
downloadsamba-19680ba4df36400cc8834795434118960d5cafc4.tar.gz
samba-19680ba4df36400cc8834795434118960d5cafc4.tar.bz2
samba-19680ba4df36400cc8834795434118960d5cafc4.zip
r65: added support for file streams in the simple NTVFS backend
(This used to be commit 9a9cc44a05510a69ad902db4d01dc12b6ac4f8ba)
Diffstat (limited to 'source4/ntvfs/simple/svfs.h')
-rw-r--r--source4/ntvfs/simple/svfs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/ntvfs/simple/svfs.h b/source4/ntvfs/simple/svfs.h
index e74fd07fce..6e44d290da 100644
--- a/source4/ntvfs/simple/svfs.h
+++ b/source4/ntvfs/simple/svfs.h
@@ -8,6 +8,8 @@ struct svfs_private {
/* next available search handle */
uint16 next_search_handle;
+
+ struct svfs_file *open_files;
};
struct svfs_dir {
@@ -19,6 +21,12 @@ struct svfs_dir {
} *files;
};
+struct svfs_file {
+ struct svfs_file *next, *prev;
+ int fd;
+ char *name;
+};
+
struct search_state {
struct search_state *next, *prev;
TALLOC_CTX *mem_ctx;