1 #ifndef SCSI_TRANSPORT_SRP_H
2 #define SCSI_TRANSPORT_SRP_H
4 #include <linux/transport_class.h>
5 #include <linux/types.h>
6 #include <linux/mutex.h>
8 struct srp_rport_identifiers {
18 struct srp_function_template {
22 extern struct scsi_transport_template *
23 srp_attach_transport(struct srp_function_template *);
24 extern void srp_release_transport(struct scsi_transport_template *);
26 extern struct srp_rport *srp_rport_add(struct Scsi_Host *,
27 struct srp_rport_identifiers *);
28 extern void srp_rport_del(struct srp_rport *);
30 extern void srp_remove_host(struct Scsi_Host *);