diff options
author | Tim Prouty <tprouty@samba.org> | 2009-01-26 15:39:40 -0800 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2009-01-29 15:29:33 -0800 |
commit | b8f7cdbd79918bba0fea181f97fff5ab0c79192d (patch) | |
tree | 6716b36bb6421e0cff45dc224a1705bb396e8dd2 /source3/include/proto.h | |
parent | aeb23872e25fb720140a10ce01a4211d228b6555 (diff) | |
download | samba-b8f7cdbd79918bba0fea181f97fff5ab0c79192d.tar.gz samba-b8f7cdbd79918bba0fea181f97fff5ab0c79192d.tar.bz2 samba-b8f7cdbd79918bba0fea181f97fff5ab0c79192d.zip |
s3: Add a new SMB_VFS_GET_ALLOC_SIZE vfs operation
This allows module implementors to customize what allocation size is
returned to the client.
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index af5181eca6..71e2145b83 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1128,6 +1128,7 @@ bool add_gid_to_array_unique(TALLOC_CTX *mem_ctx, gid_t gid, bool file_exist_stat(const char *fname,SMB_STRUCT_STAT *sbuf); bool socket_exist(const char *fname); bool directory_exist_stat(char *dname,SMB_STRUCT_STAT *st); +uint64_t get_file_size_stat(const SMB_STRUCT_STAT *sbuf); SMB_OFF_T get_file_size(char *file_name); char *attrib_string(uint16 mode); void show_msg(char *buf); @@ -7377,7 +7378,6 @@ int sys_statvfs(const char *path, vfs_statvfs_struct *statbuf); /* The following definitions come from smbd/trans2.c */ uint64_t smb_roundup(connection_struct *conn, uint64_t val); -uint64_t get_allocation_size(connection_struct *conn, files_struct *fsp, const SMB_STRUCT_STAT *sbuf); NTSTATUS get_ea_value(TALLOC_CTX *mem_ctx, connection_struct *conn, files_struct *fsp, const char *fname, const char *ea_name, struct ea_struct *pea); |