diff options
author | Jeremy Allison <jra@samba.org> | 2002-01-16 20:13:28 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-01-16 20:13:28 +0000 |
commit | 0173911b46412b520e37b090cf65382f2f5fca38 (patch) | |
tree | e01c2c4a999a632688989ff0a2be4a8bfd968034 /source3/include | |
parent | 24bdb14564c7b18bb6f93dc9ec53526bfda2c194 (diff) | |
download | samba-0173911b46412b520e37b090cf65382f2f5fca38.tar.gz samba-0173911b46412b520e37b090cf65382f2f5fca38.tar.bz2 samba-0173911b46412b520e37b090cf65382f2f5fca38.zip |
Added CIFS UNIX extension code to client.
Jeremy.
(This used to be commit 794c3e2c76aae57d054e46b185def104ca02977c)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb_macros.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h index 83ee12936c..15a10f0104 100644 --- a/source3/include/smb_macros.h +++ b/source3/include/smb_macros.h @@ -219,6 +219,12 @@ copy an IP address from one buffer to another #define putip(dest,src) memcpy(dest,src,4) +/******************************************************************* + Return True if a server has CIFS UNIX capabilities. +********************************************************************/ + +#define SERVER_HAS_UNIX_CIFS(c) ((c)->capabilities & CAP_UNIX) + /**************************************************************************** Make a filename into unix format. ****************************************************************************/ |