1#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 *);
10extern 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 *);
16extern int iscsi_target_start_negotiation(
17		struct iscsi_login *, struct iscsi_conn *);
18extern void iscsi_target_nego_release(struct iscsi_conn *);
19
20#endif /* ISCSI_TARGET_NEGO_H */
21