Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source4/libcli/raw/interfaces.h

    r414 r745  
    186186                struct {
    187187                        const char *path;
    188                         uint_t num_eas;
     188                        unsigned int num_eas;
    189189                        struct ea_struct *eas;                 
    190190                } in;
     
    489489                        uint32_t attrib;
    490490                        uint32_t ea_size;
    491                         uint_t num_eas;
     491                        unsigned int num_eas;
    492492                        struct ea_struct {
    493493                                uint8_t flags;
     
    517517                        uint32_t alignment_requirement;
    518518                        uint32_t reparse_tag;
    519                         uint_t num_streams;
     519                        unsigned int num_streams;
    520520                        struct stream_struct {
    521521                                uint64_t size;
     
    579579                struct {
    580580                        union smb_handle_or_path file;
    581                         uint_t num_names;
     581                        unsigned int num_names;
    582582                        struct ea_name {
    583583                                struct smb_wire_string name;
     
    586586
    587587                struct smb_ea_list {
    588                         uint_t num_eas;
     588                        unsigned int num_eas;
    589589                        struct ea_struct *eas;
    590590                } out;
     
    733733                } in;
    734734                struct stream_information {
    735                         uint_t num_streams;
     735                        unsigned int num_streams;
    736736                        struct stream_struct *streams;
    737737                } out;
     
    994994                struct {
    995995                        union smb_handle_or_path file;
    996                         uint_t num_eas;
     996                        unsigned int num_eas;
    997997                        struct ea_struct *eas;                 
    998998                } in;
     
    13571357        RAW_OPEN_NTTRANS_CREATE,
    13581358        RAW_OPEN_OPENX_READX,
     1359        RAW_OPEN_NTCREATEX_READX,
    13591360        RAW_OPEN_SMB2
    13601361};
     
    14011402                file = &op->openxreadx.out.file; \
    14021403                break; \
     1404        case RAW_OPEN_NTCREATEX_READX: \
     1405                file = &op->ntcreatexreadx.out.file; \
     1406                break; \
    14031407        case RAW_OPEN_SMB2: \
    14041408                file = &op->smb2.out.file; \
     
    14151419                struct {
    14161420                        uint32_t flags;
    1417                         uint32_t root_fid;
     1421                        union smb_handle root_fid;
    14181422                        uint32_t access_mask;
    14191423                        uint64_t alloc_size;
     
    14361440                        /* some optional parameters from the SMB2 varient */
    14371441                        bool query_maximal_access;
     1442
     1443                        /* private flags for internal use only */
     1444                        uint8_t private_flags;
    14381445                } in;
    14391446                struct {
     
    14711478                        uint32_t timeout;
    14721479                        const char *fname;
    1473                         uint_t num_eas;
     1480                        unsigned int num_eas;
    14741481                        struct ea_struct *eas;                 
    14751482                } in;
     
    16201627        } openxreadx;
    16211628
     1629        /* chained NTCreateX/ReadX interface */
     1630        struct {
     1631                enum smb_open_level level;
     1632                struct {
     1633                        uint32_t flags;
     1634                        union smb_handle root_fid;
     1635                        uint32_t access_mask;
     1636                        uint64_t alloc_size;
     1637                        uint32_t file_attr;
     1638                        uint32_t share_access;
     1639                        uint32_t open_disposition;
     1640                        uint32_t create_options;
     1641                        uint32_t impersonation;
     1642                        uint8_t  security_flags;
     1643                        /* NOTE: fname can also be a pointer to a
     1644                         uint64_t file_id if create_options has the
     1645                         NTCREATEX_OPTIONS_OPEN_BY_FILE_ID flag set */
     1646                        const char *fname;
     1647
     1648                        /* readx part */
     1649                        uint64_t offset;
     1650                        uint16_t mincnt;
     1651                        uint32_t maxcnt;
     1652                        uint16_t remaining;
     1653                } in;
     1654                struct {
     1655                        union smb_handle file;
     1656                        uint8_t oplock_level;
     1657                        uint32_t create_action;
     1658                        NTTIME create_time;
     1659                        NTTIME access_time;
     1660                        NTTIME write_time;
     1661                        NTTIME change_time;
     1662                        uint32_t attrib;
     1663                        uint64_t alloc_size;
     1664                        uint64_t size;
     1665                        uint16_t file_type;
     1666                        uint16_t ipc_state;
     1667                        uint8_t  is_directory;
     1668
     1669                        /* readx part */
     1670                        uint8_t *data;
     1671                        uint16_t remaining;
     1672                        uint16_t compaction_mode;
     1673                        uint16_t nread;
     1674                } out;
     1675        } ntcreatexreadx;
     1676
    16221677#define SMB2_CREATE_FLAG_REQUEST_OPLOCK           0x0100
    16231678#define SMB2_CREATE_FLAG_REQUEST_EXCLUSIVE_OPLOCK 0x0800
     
    19792034                        /* uint16_t buffer_code;  0x30 */
    19802035                        uint16_t lock_count;
    1981                         uint32_t reserved;
     2036                        uint32_t lock_sequence;
    19822037                        /* struct smb2_handle handle; */
    19832038                        struct smb2_lock_element {
     
    20362091                        union smb_handle file;
    20372092                        time_t write_time;
    2038 #define SMB2_CLOSE_FLAGS_FULL_INFORMATION (1<<0)
    20392093                        uint16_t flags; /* SMB2_CLOSE_FLAGS_* */
    20402094                } in;
     
    24332487
    24342488                        /* the ea names are only used for RAW_SEARCH_EA_LIST */
    2435                         uint_t num_names;
     2489                        unsigned int num_names;
    24362490                        struct ea_name *ea_names;
    24372491                } in;
     
    25172571
    25182572                        /* the ea names are only used for RAW_SEARCH_EA_LIST */
    2519                         uint_t num_names;
     2573                        unsigned int num_names;
    25202574                        struct ea_name *ea_names;
    25212575                } in;
Note: See TracChangeset for help on using the changeset viewer.