1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-13 16:23:50 +03:00

Added CIFS UNIX extension code to client.

Jeremy.
This commit is contained in:
Jeremy Allison
-
parent 4e41780c21
commit 794c3e2c76
3 changed files with 316 additions and 0 deletions

View File

@@ -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.
****************************************************************************/