blob: f021cbd330e51e0c61d85fc4f909e502073f09e5 [file] [log] [blame]
Nicholas Bellingere48354c2011-07-23 06:43:04 +00001#ifndef ISCSI_TARGET_NEGO_H
2#define ISCSI_TARGET_NEGO_H
3
4#define DECIMAL 0
5#define HEX 1
6
7extern void convert_null_to_semi(char *, int);
8extern int extract_param(const char *, const char *, unsigned int, char *,
9 unsigned char *);
Nicholas Bellingerbaa4d642013-03-06 21:54:13 -080010extern int iscsi_target_check_login_request(struct iscsi_conn *,
11 struct iscsi_login *);
12extern int iscsi_target_get_initial_payload(struct iscsi_conn *,
13 struct iscsi_login *);
14extern int iscsi_target_locate_portal(struct iscsi_np *, struct iscsi_conn *,
15 struct iscsi_login *);
Nicholas Bellingere48354c2011-07-23 06:43:04 +000016extern int iscsi_target_start_negotiation(
17 struct iscsi_login *, struct iscsi_conn *);
Nicholas Bellingerbaa4d642013-03-06 21:54:13 -080018extern void iscsi_target_nego_release(struct iscsi_conn *);
Nicholas Bellingere48354c2011-07-23 06:43:04 +000019
20#endif /* ISCSI_TARGET_NEGO_H */