Nicholas Bellinger | c66ac9d | 2010-12-17 11:11:26 -0800 | [diff] [blame] | 1 | #ifndef TARGET_CORE_FABRIC_LIB_H |
| 2 | #define TARGET_CORE_FABRIC_LIB_H |
| 3 | |
| 4 | extern u8 sas_get_fabric_proto_ident(struct se_portal_group *); |
| 5 | extern u32 sas_get_pr_transport_id(struct se_portal_group *, struct se_node_acl *, |
| 6 | struct t10_pr_registration *, int *, unsigned char *); |
| 7 | extern u32 sas_get_pr_transport_id_len(struct se_portal_group *, struct se_node_acl *, |
| 8 | struct t10_pr_registration *, int *); |
| 9 | extern char *sas_parse_pr_out_transport_id(struct se_portal_group *, |
| 10 | const char *, u32 *, char **); |
| 11 | |
| 12 | extern u8 fc_get_fabric_proto_ident(struct se_portal_group *); |
| 13 | extern u32 fc_get_pr_transport_id(struct se_portal_group *, struct se_node_acl *, |
| 14 | struct t10_pr_registration *, int *, unsigned char *); |
| 15 | extern u32 fc_get_pr_transport_id_len(struct se_portal_group *, struct se_node_acl *, |
| 16 | struct t10_pr_registration *, int *); |
| 17 | extern char *fc_parse_pr_out_transport_id(struct se_portal_group *, |
| 18 | const char *, u32 *, char **); |
| 19 | |
| 20 | extern u8 iscsi_get_fabric_proto_ident(struct se_portal_group *); |
| 21 | extern u32 iscsi_get_pr_transport_id(struct se_portal_group *, struct se_node_acl *, |
| 22 | struct t10_pr_registration *, int *, unsigned char *); |
| 23 | extern u32 iscsi_get_pr_transport_id_len(struct se_portal_group *, struct se_node_acl *, |
| 24 | struct t10_pr_registration *, int *); |
| 25 | extern char *iscsi_parse_pr_out_transport_id(struct se_portal_group *, |
| 26 | const char *, u32 *, char **); |
| 27 | |
| 28 | #endif /* TARGET_CORE_FABRIC_LIB_H */ |