Nicholas Bellinger | e48354c | 2011-07-23 06:43:04 +0000 | [diff] [blame] | 1 | #ifndef ISCSI_TARGET_NEGO_H |
| 2 | #define ISCSI_TARGET_NEGO_H |
| 3 | |
| 4 | #define DECIMAL 0 |
| 5 | #define HEX 1 |
| 6 | |
| 7 | extern void convert_null_to_semi(char *, int); |
| 8 | extern int extract_param(const char *, const char *, unsigned int, char *, |
| 9 | unsigned char *); |
Nicholas Bellinger | baa4d64 | 2013-03-06 21:54:13 -0800 | [diff] [blame] | 10 | extern int iscsi_target_check_login_request(struct iscsi_conn *, |
| 11 | struct iscsi_login *); |
| 12 | extern int iscsi_target_get_initial_payload(struct iscsi_conn *, |
| 13 | struct iscsi_login *); |
| 14 | extern int iscsi_target_locate_portal(struct iscsi_np *, struct iscsi_conn *, |
| 15 | struct iscsi_login *); |
Nicholas Bellinger | e48354c | 2011-07-23 06:43:04 +0000 | [diff] [blame] | 16 | extern int iscsi_target_start_negotiation( |
| 17 | struct iscsi_login *, struct iscsi_conn *); |
Nicholas Bellinger | baa4d64 | 2013-03-06 21:54:13 -0800 | [diff] [blame] | 18 | extern void iscsi_target_nego_release(struct iscsi_conn *); |
Nicholas Bellinger | e48354c | 2011-07-23 06:43:04 +0000 | [diff] [blame] | 19 | |
| 20 | #endif /* ISCSI_TARGET_NEGO_H */ |