Ignore:
Timestamp:
Nov 24, 2016, 1:14:11 PM (9 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to version 4.4.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/include/MacExtensions.h

    r414 r988  
    3131#define DefaultStreamTest               ":$DATA"
    3232#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"
    3845
    3946/*
    4047** NT's AFP_AfpInfo stream structure
    4148*/
    42 #define APF_INFO_SIZE           0x3c           
     49#define AFP_INFO_SIZE           0x3c
    4350#define AFP_Signature           0x41465000
    4451#define AFP_Version                     0x00000100
    45 #define AFP_BackupTime          0x00000080
     52#define AFP_BackupTime          0x80000000
    4653#define AFP_FinderSize          32
    4754/*
     
    5360typedef struct _AfpInfo
    5461{
    55          uint32         afpi_Signature;                 /* Must be *(PDWORD)"AFP" */
    56          uint32         afpi_Version;                   /* Must be 0x00010000 */
    57          uint32         afpi_Reserved1;
    58          uint32         afpi_BackupTime;                /* Backup time for the file/dir */
     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 */
    5966         unsigned char  afpi_FinderInfo[AFP_FinderSize];        /* Finder Info (32 bytes) */
    6067         unsigned char  afpi_ProDosInfo[6];     /* ProDos Info (6 bytes) # */
     
    7481
    7582/*
    76 ** These extentions are only supported with the NT LM 0.12 Dialect. These extentions
     83** These extensions are only supported with the NT LM 0.12 Dialect. These extentions
    7784** will be process on a share by share bases.
    7885*/
    7986
    8087/*
    81 ** Trans2_Query_FS_Information Call is used by the MacCIFS extentions for three reasons.
    82 ** First to see if the remote server share supports the basic Macintosh CIFS extentions.
     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.
    8390** Second to return some basic need information about the share to the Macintosh.
    84 ** Third to see if this share support any other Macintosh extentions.
     91** Third to see if this share support any other Macintosh extensions.
    8592**
    8693** We will be using infromation levels that are betwwen 0x300 and 0x399 for all Macintosh
    87 ** extentions calls. The first of these will be the SMB_MAC_QUERY_FS_INFO level which
     94** extensions calls. The first of these will be the SMB_MAC_QUERY_FS_INFO level which
    8895** will allow the server to return the MacQueryFSInfo structure. All fields are Little
    8996** Endian unless other wise specified.
Note: See TracChangeset for help on using the changeset viewer.