Merge branch 'v6v7' into devel
[linux/fpc-iii.git] / include / target / target_core_fabric_lib.h
blobc2f8d0e3a03ba4adb6f34f30d08dc9728d2fdf63
1 #ifndef TARGET_CORE_FABRIC_LIB_H
2 #define TARGET_CORE_FABRIC_LIB_H
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 **);
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 **);
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 **);
28 #endif /* TARGET_CORE_FABRIC_LIB_H */