summaryrefslogtreecommitdiff
path: root/source3/smbd/fileio.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-04 14:46:31 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-06 10:18:36 +0200
commit4a91321f3a5d051bff64d3fefce0fc9b576ff3bd (patch)
tree0ef7b6cd6558b70be00d9cab215c3320c7459adf /source3/smbd/fileio.c
parent01b726dbe8b3f9c65a24aac0436352650cd9d3aa (diff)
downloadsamba-4a91321f3a5d051bff64d3fefce0fc9b576ff3bd.tar.gz
s3:smbd: make typedef write_cache private to fileio.c
metze
Diffstat (limited to 'source3/smbd/fileio.c')
-rw-r--r--source3/smbd/fileio.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/smbd/fileio.c b/source3/smbd/fileio.c
index 8bdb66bcfeb..991cb4783d1 100644
--- a/source3/smbd/fileio.c
+++ b/source3/smbd/fileio.c
@@ -25,6 +25,14 @@
#include "smbd/globals.h"
#include "smbprofile.h"
+typedef struct write_cache {
+ off_t file_size;
+ off_t offset;
+ size_t alloc_size;
+ size_t data_size;
+ char *data;
+} write_cache;
+
static bool setup_write_cache(files_struct *, off_t);
/****************************************************************************