From e7856ed58d993806dacc121d3af022d213f76af0 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Mon, 13 Jan 2014 14:03:45 +0100 Subject: [PATCH] Add usable stream name defines Add stream name defines that are usable with Samba's way of storing stream names internally. Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison Reviewed-by: Simo Sorce --- source3/include/MacExtensions.h | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/source3/include/MacExtensions.h b/source3/include/MacExtensions.h index 5e28725feb3..a60f894f8e4 100644 --- a/source3/include/MacExtensions.h +++ b/source3/include/MacExtensions.h @@ -30,11 +30,18 @@ #define DefaultStreamTestLen 6 #define DefaultStreamTest ":$DATA" #define AFPDATA_STREAM "::$DATA" -#define AFPINFO_STREAM ":AFP_AfpInfo:$DATA" -#define AFPRESOURCE_STREAM ":AFP_Resource:$DATA" -#define AFPCOMMENTS_STREAM ":Comments:$DATA" -#define AFPDESKTOP_STREAM ":AFP_DeskTop:$DATA" -#define AFPIDINDEX_STREAM ":AFP_IdIndex:$DATA" + +#define AFPINFO_STREAM_NAME ":AFP_AfpInfo" +#define AFPRESOURCE_STREAM_NAME ":AFP_Resource" +#define AFPCOMMENTS_STREAM_NAME ":Comments" +#define AFPDESKTOP_STREAM_NAME ":AFP_DeskTop" +#define AFPIDINDEX_STREAM_NAME ":AFP_IdIndex" + +#define AFPINFO_STREAM AFPINFO_STREAM_NAME ":$DATA" +#define AFPRESOURCE_STREAM AFPRESOURCE_STREAM_NAME ":$DATA" +#define AFPCOMMENTS_STREAM AFPCOMMENTS_STREAM_NAME ":$DATA" +#define AFPDESKTOP_STREAM AFPDESKTOP_STREAM_NAME ":$DATA" +#define AFPIDINDEX_STREAM AFPIDINDEX_STREAM_NAME ":$DATA" /* ** NT's AFP_AfpInfo stream structure -- 2.11.4.GIT