Changeset 988 for vendor/current/source3/include/MacExtensions.h
- Timestamp:
- Nov 24, 2016, 1:14:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/include/MacExtensions.h
r414 r988 31 31 #define DefaultStreamTest ":$DATA" 32 32 #define AFPDATA_STREAM "::$DATA" 33 #define AFPINFO_STREAM ":AFP_AfpInfo:$DATA" 34 #define AFPRESOURCE_STREAM ":AFP_Resource:$DATA" 35 #define AFPCOMMENTS_STREAM ":Comments:$DATA" 36 #define AFPDESKTOP_STREAM ":AFP_DeskTop:$DATA" 37 #define AFPIDINDEX_STREAM ":AFP_IdIndex:$DATA" 33 34 #define AFPINFO_STREAM_NAME ":AFP_AfpInfo" 35 #define AFPRESOURCE_STREAM_NAME ":AFP_Resource" 36 #define AFPCOMMENTS_STREAM_NAME ":Comments" 37 #define AFPDESKTOP_STREAM_NAME ":AFP_DeskTop" 38 #define AFPIDINDEX_STREAM_NAME ":AFP_IdIndex" 39 40 #define AFPINFO_STREAM AFPINFO_STREAM_NAME ":$DATA" 41 #define AFPRESOURCE_STREAM AFPRESOURCE_STREAM_NAME ":$DATA" 42 #define AFPCOMMENTS_STREAM AFPCOMMENTS_STREAM_NAME ":$DATA" 43 #define AFPDESKTOP_STREAM AFPDESKTOP_STREAM_NAME ":$DATA" 44 #define AFPIDINDEX_STREAM AFPIDINDEX_STREAM_NAME ":$DATA" 38 45 39 46 /* 40 47 ** NT's AFP_AfpInfo stream structure 41 48 */ 42 #define A PF_INFO_SIZE 0x3c49 #define AFP_INFO_SIZE 0x3c 43 50 #define AFP_Signature 0x41465000 44 51 #define AFP_Version 0x00000100 45 #define AFP_BackupTime 0x 0000008052 #define AFP_BackupTime 0x80000000 46 53 #define AFP_FinderSize 32 47 54 /* … … 53 60 typedef struct _AfpInfo 54 61 { 55 uint32 56 uint32 57 uint32 58 uint32 62 uint32_t afpi_Signature; /* Must be *(PDWORD)"AFP" */ 63 uint32_t afpi_Version; /* Must be 0x00010000 */ 64 uint32_t afpi_Reserved1; 65 uint32_t afpi_BackupTime; /* Backup time for the file/dir */ 59 66 unsigned char afpi_FinderInfo[AFP_FinderSize]; /* Finder Info (32 bytes) */ 60 67 unsigned char afpi_ProDosInfo[6]; /* ProDos Info (6 bytes) # */ … … 74 81 75 82 /* 76 ** These exten tions are only supported with the NT LM 0.12 Dialect. These extentions83 ** These extensions are only supported with the NT LM 0.12 Dialect. These extentions 77 84 ** will be process on a share by share bases. 78 85 */ 79 86 80 87 /* 81 ** Trans2_Query_FS_Information Call is used by the MacCIFS exten tions for three reasons.82 ** First to see if the remote server share supports the basic Macintosh CIFS exten tions.88 ** Trans2_Query_FS_Information Call is used by the MacCIFS extensions for three reasons. 89 ** First to see if the remote server share supports the basic Macintosh CIFS extensions. 83 90 ** Second to return some basic need information about the share to the Macintosh. 84 ** Third to see if this share support any other Macintosh exten tions.91 ** Third to see if this share support any other Macintosh extensions. 85 92 ** 86 93 ** We will be using infromation levels that are betwwen 0x300 and 0x399 for all Macintosh 87 ** exten tions calls. The first of these will be the SMB_MAC_QUERY_FS_INFO level which94 ** extensions calls. The first of these will be the SMB_MAC_QUERY_FS_INFO level which 88 95 ** will allow the server to return the MacQueryFSInfo structure. All fields are Little 89 96 ** Endian unless other wise specified.
Note:
See TracChangeset
for help on using the changeset viewer.