summaryrefslogtreecommitdiff
path: root/usr/iscsi_sysfs.h
diff options
context:
space:
mode:
authormnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6>2007-04-24 05:41:44 +0000
committermnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6>2007-04-24 05:41:44 +0000
commitd1d7e581e15f8b1cdfd9254f7230fede9e4da516 (patch)
tree32cf2d45c78413702bd69c54a6505dac6c340803 /usr/iscsi_sysfs.h
parent89cd930dc9315e7a657187fefc924d7ed021aa93 (diff)
downloadopen-iscsi-d1d7e581e15f8b1cdfd9254f7230fede9e4da516.tar.gz
use kernel list functions in almost all places (not queue.c yet), and fix some print output
git-svn-id: svn://svn.berlios.de/open-iscsi@815 d7303112-9cec-0310-bdd2-e83a94d6c2b6
Diffstat (limited to 'usr/iscsi_sysfs.h')
-rw-r--r--usr/iscsi_sysfs.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/usr/iscsi_sysfs.h b/usr/iscsi_sysfs.h
index 38e463e..e1e25a6 100644
--- a/usr/iscsi_sysfs.h
+++ b/usr/iscsi_sysfs.h
@@ -61,13 +61,12 @@ extern void set_device_online(int hostno, int target, int lun);
extern void delete_device(int hostno, int target, int lun);
extern int sysfs_for_each_device(int host_no, uint32_t sid,
void (* fn)(int host_no, int target, int lun));
-extern struct iscsi_provider_t *get_transport_by_hba(long host_no);
-extern struct iscsi_provider_t *get_transport_by_session(char *sys_session);
-extern struct iscsi_provider_t *get_transport_by_sid(uint32_t sid);
-extern struct iscsi_provider_t *get_transport_by_name(char *transport_name);
-extern void init_providers(void);
+extern struct iscsi_transport *get_transport_by_hba(long host_no);
+extern struct iscsi_transport *get_transport_by_session(char *sys_session);
+extern struct iscsi_transport *get_transport_by_sid(uint32_t sid);
+extern struct iscsi_transport *get_transport_by_name(char *transport_name);
-extern struct qelem providers;
-extern int num_providers;
+extern struct list_head transports;
+extern int num_transports;
#endif