12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- #ifndef HEADER_CURL_SMB_H
- #define HEADER_CURL_SMB_H
- enum smb_conn_state {
- SMB_NOT_CONNECTED = 0,
- SMB_CONNECTING,
- SMB_NEGOTIATE,
- SMB_SETUP,
- SMB_CONNECTED
- };
- struct smb_conn {
- enum smb_conn_state state;
- char *user;
- char *domain;
- char *share;
- unsigned char challenge[8];
- unsigned int session_key;
- unsigned short uid;
- char *recv_buf;
- char *send_buf;
- size_t upload_size;
- size_t send_size;
- size_t sent;
- size_t got;
- };
- #if !defined(CURL_DISABLE_SMB) && defined(USE_CURL_NTLM_CORE) && \
- (SIZEOF_CURL_OFF_T > 4)
- extern const struct Curl_handler Curl_handler_smb;
- extern const struct Curl_handler Curl_handler_smbs;
- #endif
- #endif
|