• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 *);
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 *);
16 extern int iscsi_target_start_negotiation(
17 		struct iscsi_login *, struct iscsi_conn *);
18 extern void iscsi_target_nego_release(struct iscsi_conn *);
19 
20 #endif /* ISCSI_TARGET_NEGO_H */
21