diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-05-04 21:19:46 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-05-06 07:51:24 +0200 |
commit | e3b858496ffe213f66387e4f11b311543af4dc54 (patch) | |
tree | 99265e20c62f48e218a16bb84716b3b5411a592a /libcli/smb/smb_util.h | |
parent | 8f1810362df7ef9e5c394a9cba83cf0e7c04bd9e (diff) | |
download | samba-e3b858496ffe213f66387e4f11b311543af4dc54.tar.gz samba-e3b858496ffe213f66387e4f11b311543af4dc54.tar.bz2 samba-e3b858496ffe213f66387e4f11b311543af4dc54.zip |
libcli/smb Move cifs posix helper functions and headers in common
unix_perms_to_wire() was a duplicate symbol in the top level build.
Andrew Bartlett
Diffstat (limited to 'libcli/smb/smb_util.h')
-rw-r--r-- | libcli/smb/smb_util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcli/smb/smb_util.h b/libcli/smb/smb_util.h index 8a67c30913..b5a06524cb 100644 --- a/libcli/smb/smb_util.h +++ b/libcli/smb/smb_util.h @@ -20,3 +20,6 @@ */ char *attrib_string(TALLOC_CTX *mem_ctx, uint32_t attrib); +uint32_t unix_perms_to_wire(mode_t perms); +mode_t wire_perms_to_unix(uint32_t perms); +mode_t unix_filetype_from_wire(uint32_t wire_type); |