1 #ifndef ISCSI_TARGET_NEGO_H 2 #define ISCSI_TARGET_NEGO_H 3 4 #define DECIMAL 0 5 #define HEX 1 6 7 struct iscsi_conn; 8 struct iscsi_login; 9 struct iscsi_np; 10 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 *); 23 24 #endif /* ISCSI_TARGET_NEGO_H */ 25