diff options
author | Ralph Boehme <rb@sernet.de> | 2014-01-13 14:03:45 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2014-03-11 10:12:57 +0000 |
commit | e7856ed58d993806dacc121d3af022d213f76af0 (patch) | |
tree | ba5e5d0ed013d25043ea313a70a961d27c362286 /source3/include/MacExtensions.h | |
parent | 8424d35919c52258774e76e34c087d9473cd8d88 (diff) | |
download | samba-e7856ed58d993806dacc121d3af022d213f76af0.tar.gz |
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 <rb@sernet.de>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'source3/include/MacExtensions.h')
-rw-r--r-- | source3/include/MacExtensions.h | 17 |
1 files 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 |