From: Stefan Metzmacher Date: Tue, 5 Jun 2012 08:17:57 +0000 (+0200) Subject: s3:include: move struct stream_struct to vfs.h X-Git-Tag: tevent-0.9.16~75 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f88d13b16f179225477618f7bad621934614f464;p=thirdparty%2Fsamba.git s3:include: move struct stream_struct to vfs.h metze --- diff --git a/source3/include/smb.h b/source3/include/smb.h index 8b9aa1c2d0a..8da000c41a3 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 069e56ff038..bfed01bc649 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; \ }