summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-05 10:17:57 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-06 10:18:38 +0200
commitf88d13b16f179225477618f7bad621934614f464 (patch)
treebac35b4660cda147b6ac2e669f8d4510ab5086f2
parentb9500bd988085f01d48d0f444d69afa965a7b04b (diff)
downloadsamba-f88d13b16f179225477618f7bad621934614f464.tar.gz
samba-f88d13b16f179225477618f7bad621934614f464.tar.bz2
samba-f88d13b16f179225477618f7bad621934614f464.zip
s3:include: move struct stream_struct to vfs.h
metze
-rw-r--r--source3/include/smb.h10
-rw-r--r--source3/include/vfs.h10
2 files changed, 10 insertions, 10 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 8b9aa1c2d0..8da000c41a 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -167,16 +167,6 @@ typedef struct {
bool is_wild;
} name_compare_entry;
-/*
- * Info about an alternate data stream
- */
-
-struct stream_struct {
- off_t size;
- off_t alloc_size;
- char *name;
-};
-
/* Include VFS stuff */
#include "smb_acls.h"
diff --git a/source3/include/vfs.h b/source3/include/vfs.h
index 069e56ff03..bfed01bc64 100644
--- a/source3/include/vfs.h
+++ b/source3/include/vfs.h
@@ -249,6 +249,16 @@ typedef struct files_struct {
} files_struct;
+/*
+ * Info about an alternate data stream
+ */
+
+struct stream_struct {
+ off_t size;
+ off_t alloc_size;
+ char *name;
+};
+
#define VFS_FIND(__fn__) while (handle->fns->__fn__##_fn==NULL) { \
handle = handle->next; \
}