sh_eth: fix EESIPR values for SH77{34|63}
[linux/fpc-iii.git] / drivers / target / iscsi / iscsi_target_nego.h
blob53438bfca4c66bee15a05ca56ae4d89686d6a05d
1 #ifndef ISCSI_TARGET_NEGO_H
2 #define ISCSI_TARGET_NEGO_H
4 #define DECIMAL 0
5 #define HEX 1
7 struct iscsi_conn;
8 struct iscsi_login;
9 struct iscsi_np;
11 extern void convert_null_to_semi(char *, int);
12 extern int extract_param(const char *, const char *, unsigned int, char *,
13 unsigned char *);
14 extern int iscsi_target_check_login_request(struct iscsi_conn *,
15 struct iscsi_login *);
16 extern int iscsi_target_get_initial_payload(struct iscsi_conn *,
17 struct iscsi_login *);
18 extern int iscsi_target_locate_portal(struct iscsi_np *, struct iscsi_conn *,
19 struct iscsi_login *);
20 extern int iscsi_target_start_negotiation(
21 struct iscsi_login *, struct iscsi_conn *);
22 extern void iscsi_target_nego_release(struct iscsi_conn *);
24 #endif /* ISCSI_TARGET_NEGO_H */