summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-01-10 02:41:15 +0000
committerJeremy Allison <jra@samba.org>2002-01-10 02:41:15 +0000
commita36c10bd1e801228a002b2cdbecfe1fb6c3181a2 (patch)
tree8df44290416cf777c556cb5e7ec88ebc183736c0 /source3/include
parentfd56ebd54f68433c9f764cf73e05dbe0649d0716 (diff)
downloadsamba-a36c10bd1e801228a002b2cdbecfe1fb6c3181a2.tar.gz
samba-a36c10bd1e801228a002b2cdbecfe1fb6c3181a2.tar.bz2
samba-a36c10bd1e801228a002b2cdbecfe1fb6c3181a2.zip
First part of UNIX extensions (#ifdefed out) more to follow.
Jeremy. (This used to be commit 02b18f2cca6d6d046d2d8fd7375b207d44031ddc)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h1
-rw-r--r--source3/include/smb_macros.h6
2 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index bdc718f57b..98d958507f 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1325,6 +1325,7 @@ char *strdup(char *s);
#define CAP_W2K_SMBS 0x2000
#define CAP_LARGE_READX 0x4000
#define CAP_LARGE_WRITEX 0x8000
+#define CAP_UNIX 0x800000 /* Capabilities for UNIX extensions. Created by HP. */
#define CAP_EXTENDED_SECURITY 0x80000000
/* protocol types. It assumes that higher protocols include lower protocols
diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h
index 2b5be96e7f..83ee12936c 100644
--- a/source3/include/smb_macros.h
+++ b/source3/include/smb_macros.h
@@ -239,6 +239,12 @@ copy an IP address from one buffer to another
#define vfs_stat(conn, fname, st) ((conn)->vfs_ops.stat((conn), fname,(st)))
/*******************************************************************
+ vfs lstat wrapper that calls internal2unix.
+********************************************************************/
+
+#define vfs_lstat(conn, fname, st) ((conn)->vfs_ops.lstat((conn), fname,(st)))
+
+/*******************************************************************
vfs fstat wrapper
********************************************************************/