summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
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
********************************************************************/