summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-07-29 16:36:58 +0200
committerVolker Lendecke <vl@samba.org>2011-07-29 16:43:17 +0200
commit190b5432f0fd55113b26c97aeac97c76b28dbedf (patch)
tree0bf4362f0e1e59ef570662799ba46e2b3f08a17b /source3/include
parent0102c6e2bc289352ab726d68956c126727cf8d81 (diff)
downloadsamba-190b5432f0fd55113b26c97aeac97c76b28dbedf.tar.gz
samba-190b5432f0fd55113b26c97aeac97c76b28dbedf.tar.bz2
samba-190b5432f0fd55113b26c97aeac97c76b28dbedf.zip
s3: Make map_open_params_to_ntcreate() available in lib/
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 9eff02606d..095c52c7c0 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -607,6 +607,13 @@ bool any_nt_status_not_ok(NTSTATUS err1, NTSTATUS err2, NTSTATUS *result);
int timeval_to_msec(struct timeval t);
char *valid_share_pathname(TALLOC_CTX *ctx, const char *dos_pathname);
bool is_executable(const char *fname);
+bool map_open_params_to_ntcreate(const char *smb_base_fname,
+ int deny_mode, int open_func,
+ uint32 *paccess_mask,
+ uint32 *pshare_mode,
+ uint32 *pcreate_disposition,
+ uint32 *pcreate_options,
+ uint32_t *pprivate_flags);
/* The following definitions come from lib/util_cmdline.c */