Changeset 745 for trunk/server/source4/libcli/raw/libcliraw.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/libcliraw.h
r414 r745 64 64 int server_zone; 65 65 time_t server_time; 66 uint_t readbraw_supported:1; 67 uint_t writebraw_supported:1; 66 unsigned int readbraw_supported:1; 67 unsigned int writebraw_supported:1; 68 unsigned int lockread_supported:1; 68 69 69 70 char *server_domain; … … 93 94 */ 94 95 struct smbcli_options { 95 u int_t use_oplocks:1;96 u int_t use_level2_oplocks:1;97 u int_t use_spnego:1;98 u int_t unicode:1;99 u int_t ntstatus_support:1;96 unsigned int use_oplocks:1; 97 unsigned int use_level2_oplocks:1; 98 unsigned int use_spnego:1; 99 unsigned int unicode:1; 100 unsigned int ntstatus_support:1; 100 101 int max_protocol; 101 102 uint32_t max_xmit; … … 122 123 /* is a readbraw pending? we need to handle that case 123 124 specially on receiving packets */ 124 u int_t readbraw_pending:1;125 unsigned int readbraw_pending:1; 125 126 126 127 /* an idle function - if this is defined then it will be … … 130 131 void (*func)(struct smbcli_transport *, void *); 131 132 void *private_data; 132 u int_t period;133 unsigned int period; 133 134 } idle; 134 135 … … 143 144 SOCKET_WRITE_ERROR, 144 145 SOCKET_READ_BAD_SIG} socket_error; 145 u int_t nbt_error;146 unsigned int nbt_error; 146 147 } e; 147 148 } error; … … 164 165 /* context of the stream -> packet parser */ 165 166 struct packet_context *packet; 166 167 /* iconv convenience */168 struct smb_iconv_convenience *iconv_convenience;169 167 }; 170 168 … … 193 191 194 192 struct smbcli_session_options { 195 u int_t lanman_auth:1;196 u int_t ntlmv2_auth:1;197 u int_t plaintext_auth:1;193 unsigned int lanman_auth:1; 194 unsigned int ntlmv2_auth:1; 195 unsigned int plaintext_auth:1; 198 196 } options; 199 197 … … 256 254 257 255 /* the sequence number of this packet - used for signing */ 258 u int_t seq_num;256 unsigned int seq_num; 259 257 260 258 /* list of ntcancel request for this requests */ … … 263 261 /* set if this is a one-way request, meaning we are not 264 262 expecting a reply from the server. */ 265 u int_t one_way_request:1;263 unsigned int one_way_request:1; 266 264 267 265 /* set this when the request should only increment the signing 268 266 counter by one */ 269 u int_t sign_single_increment:1;267 unsigned int sign_single_increment:1; 270 268 271 269 /* the caller wants to do the signing check */
Note:
See TracChangeset
for help on using the changeset viewer.