diff options
author | mnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6> | 2006-04-13 18:19:34 +0000 |
---|---|---|
committer | mnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6> | 2006-04-13 18:19:34 +0000 |
commit | dffca4a5d2ae65a04612031e08e828fceabd884f (patch) | |
tree | 9ec9c70aa8f4cd9b4b61fbea93c2487c561a077d /usr/transport.h | |
parent | f9f5588f79fe6bfcb9a9bdf1a02d55bc030c52cb (diff) | |
download | open-iscsi-dffca4a5d2ae65a04612031e08e828fceabd884f.tar.gz |
forgot to svn add transport.h. Thanks Albert
git-svn-id: svn://svn.berlios.de/open-iscsi@541 d7303112-9cec-0310-bdd2-e83a94d6c2b6
Diffstat (limited to 'usr/transport.h')
-rw-r--r-- | usr/transport.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/usr/transport.h b/usr/transport.h new file mode 100644 index 0000000..2e6d19e --- /dev/null +++ b/usr/transport.h @@ -0,0 +1,11 @@ +struct iscsi_conn; + +struct iscsi_uspace_transport { + const char *name; + uint8_t rdma; + int (*ep_connect) (iscsi_conn_t *conn, int non_blocking); + int (*ep_poll) (iscsi_conn_t *conn, int timeout_ms); + void (*ep_disconnect) (iscsi_conn_t *conn); +}; + +extern int sync_transports(void); |