Changeset 745 for trunk/server/source4/libcli/raw/interfaces.h
- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/source4/libcli/raw/interfaces.h
r414 r745 186 186 struct { 187 187 const char *path; 188 u int_t num_eas;188 unsigned int num_eas; 189 189 struct ea_struct *eas; 190 190 } in; … … 489 489 uint32_t attrib; 490 490 uint32_t ea_size; 491 u int_t num_eas;491 unsigned int num_eas; 492 492 struct ea_struct { 493 493 uint8_t flags; … … 517 517 uint32_t alignment_requirement; 518 518 uint32_t reparse_tag; 519 u int_t num_streams;519 unsigned int num_streams; 520 520 struct stream_struct { 521 521 uint64_t size; … … 579 579 struct { 580 580 union smb_handle_or_path file; 581 u int_t num_names;581 unsigned int num_names; 582 582 struct ea_name { 583 583 struct smb_wire_string name; … … 586 586 587 587 struct smb_ea_list { 588 u int_t num_eas;588 unsigned int num_eas; 589 589 struct ea_struct *eas; 590 590 } out; … … 733 733 } in; 734 734 struct stream_information { 735 u int_t num_streams;735 unsigned int num_streams; 736 736 struct stream_struct *streams; 737 737 } out; … … 994 994 struct { 995 995 union smb_handle_or_path file; 996 u int_t num_eas;996 unsigned int num_eas; 997 997 struct ea_struct *eas; 998 998 } in; … … 1357 1357 RAW_OPEN_NTTRANS_CREATE, 1358 1358 RAW_OPEN_OPENX_READX, 1359 RAW_OPEN_NTCREATEX_READX, 1359 1360 RAW_OPEN_SMB2 1360 1361 }; … … 1401 1402 file = &op->openxreadx.out.file; \ 1402 1403 break; \ 1404 case RAW_OPEN_NTCREATEX_READX: \ 1405 file = &op->ntcreatexreadx.out.file; \ 1406 break; \ 1403 1407 case RAW_OPEN_SMB2: \ 1404 1408 file = &op->smb2.out.file; \ … … 1415 1419 struct { 1416 1420 uint32_t flags; 1417 u int32_troot_fid;1421 union smb_handle root_fid; 1418 1422 uint32_t access_mask; 1419 1423 uint64_t alloc_size; … … 1436 1440 /* some optional parameters from the SMB2 varient */ 1437 1441 bool query_maximal_access; 1442 1443 /* private flags for internal use only */ 1444 uint8_t private_flags; 1438 1445 } in; 1439 1446 struct { … … 1471 1478 uint32_t timeout; 1472 1479 const char *fname; 1473 u int_t num_eas;1480 unsigned int num_eas; 1474 1481 struct ea_struct *eas; 1475 1482 } in; … … 1620 1627 } openxreadx; 1621 1628 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 1622 1677 #define SMB2_CREATE_FLAG_REQUEST_OPLOCK 0x0100 1623 1678 #define SMB2_CREATE_FLAG_REQUEST_EXCLUSIVE_OPLOCK 0x0800 … … 1979 2034 /* uint16_t buffer_code; 0x30 */ 1980 2035 uint16_t lock_count; 1981 uint32_t reserved;2036 uint32_t lock_sequence; 1982 2037 /* struct smb2_handle handle; */ 1983 2038 struct smb2_lock_element { … … 2036 2091 union smb_handle file; 2037 2092 time_t write_time; 2038 #define SMB2_CLOSE_FLAGS_FULL_INFORMATION (1<<0)2039 2093 uint16_t flags; /* SMB2_CLOSE_FLAGS_* */ 2040 2094 } in; … … 2433 2487 2434 2488 /* the ea names are only used for RAW_SEARCH_EA_LIST */ 2435 u int_t num_names;2489 unsigned int num_names; 2436 2490 struct ea_name *ea_names; 2437 2491 } in; … … 2517 2571 2518 2572 /* the ea names are only used for RAW_SEARCH_EA_LIST */ 2519 u int_t num_names;2573 unsigned int num_names; 2520 2574 struct ea_name *ea_names; 2521 2575 } in;
Note:
See TracChangeset
for help on using the changeset viewer.