Skip to content
Snippets Groups Projects
Commit 7c00ba10 authored by Bill Nagel's avatar Bill Nagel Committed by Steve Holme
Browse files

smb: Added SMB connection structure

Added the connection structure that will be required in urldata.h for
SMB/CIFS based connections.
parent e80d9d59
No related branches found
No related tags found
No related merge requests found
......@@ -22,4 +22,26 @@
*
***************************************************************************/
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;
unsigned char challenge[8];
unsigned int session_key;
unsigned short uid;
char *send_buf;
char *recv_buf;
size_t send_size;
size_t sent;
size_t got;
};
#endif /* HEADER_CURL_SMB_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment