summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-07-24 17:06:41 -0700
committerJeremy Allison <jra@samba.org>2009-07-24 17:06:41 -0700
commitff547a23ae464475fa9a6f0c9b8a5d1d721dde64 (patch)
tree8ad81c7a2a47d9bccb53495d138d0ca47842f8e5 /source3/include
parentcd5133b1127579fa47152e4c38f4a6534bdf37c7 (diff)
downloadsamba-ff547a23ae464475fa9a6f0c9b8a5d1d721dde64.tar.gz
samba-ff547a23ae464475fa9a6f0c9b8a5d1d721dde64.tar.bz2
samba-ff547a23ae464475fa9a6f0c9b8a5d1d721dde64.zip
Factor out common code into vfs_acl_common.c.
Jeremy.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index a79c7eb7e8..92386f5fae 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -7284,4 +7284,31 @@ uint32_t ds_uf2atype(uint32_t uf);
uint32_t ds_gtype2atype(uint32_t gtype);
enum lsa_SidType ds_atype_map(uint32_t atype);
+/* The following definitions come from modules/vfs_acl_xattr.c */
+NTSTATUS get_acl_blob(TALLOC_CTX *ctx,
+ vfs_handle_struct *handle,
+ files_struct *fsp,
+ const char *name,
+ DATA_BLOB *pblob);
+NTSTATUS store_acl_blob_fsp(vfs_handle_struct *handle,
+ files_struct *fsp,
+ DATA_BLOB *pblob);
+NTSTATUS store_acl_blob_pathname(vfs_handle_struct *handle,
+ const char *fname,
+ DATA_BLOB *pblob);
+
+/* The following definitions come from modules/vfs_acl_common.c */
+int open_acl_common(vfs_handle_struct *handle,
+ struct smb_filename *smb_fname,
+ files_struct *fsp,
+ int flags,
+ mode_t mode);
+int mkdir_acl_common(vfs_handle_struct *handle, const char *path, mode_t mode);
+NTSTATUS fget_nt_acl_common(vfs_handle_struct *handle, files_struct *fsp,
+ uint32_t security_info, struct security_descriptor **ppdesc);
+NTSTATUS get_nt_acl_common(vfs_handle_struct *handle,
+ const char *name, uint32_t security_info, struct security_descriptor **ppdesc);
+NTSTATUS fset_nt_acl_common(vfs_handle_struct *handle, files_struct *fsp,
+ uint32_t security_info_sent, const struct security_descriptor *psd);
+
#endif /* _PROTO_H_ */