libiscsi.h (5af3e91d232b7e022f258202f72ebb79b8b0c706) libiscsi.h (0af967f5d4f2dd1e00618d34ac988037d37a6c3b)
1/*
2 * iSCSI lib definitions
3 *
4 * Copyright (C) 2006 Red Hat, Inc. All rights reserved.
5 * Copyright (C) 2004 - 2006 Mike Christie
6 * Copyright (C) 2004 - 2005 Dmitry Yusupov
7 * Copyright (C) 2004 - 2005 Alex Aizman
8 *

--- 371 unchanged lines hidden (view full) ---

380 */
381extern void iscsi_update_cmdsn(struct iscsi_session *, struct iscsi_nopin *);
382extern void iscsi_prep_unsolicit_data_pdu(struct iscsi_cmd_task *,
383 struct iscsi_data *hdr);
384extern int iscsi_conn_send_pdu(struct iscsi_cls_conn *, struct iscsi_hdr *,
385 char *, uint32_t);
386extern int iscsi_complete_pdu(struct iscsi_conn *, struct iscsi_hdr *,
387 char *, int);
1/*
2 * iSCSI lib definitions
3 *
4 * Copyright (C) 2006 Red Hat, Inc. All rights reserved.
5 * Copyright (C) 2004 - 2006 Mike Christie
6 * Copyright (C) 2004 - 2005 Dmitry Yusupov
7 * Copyright (C) 2004 - 2005 Alex Aizman
8 *

--- 371 unchanged lines hidden (view full) ---

380 */
381extern void iscsi_update_cmdsn(struct iscsi_session *, struct iscsi_nopin *);
382extern void iscsi_prep_unsolicit_data_pdu(struct iscsi_cmd_task *,
383 struct iscsi_data *hdr);
384extern int iscsi_conn_send_pdu(struct iscsi_cls_conn *, struct iscsi_hdr *,
385 char *, uint32_t);
386extern int iscsi_complete_pdu(struct iscsi_conn *, struct iscsi_hdr *,
387 char *, int);
388extern int iscsi_verify_itt(struct iscsi_conn *, struct iscsi_hdr *,
389 uint32_t *);
388extern int iscsi_verify_itt(struct iscsi_conn *, itt_t);
389extern struct iscsi_cmd_task *iscsi_itt_to_ctask(struct iscsi_conn *, itt_t);
390extern void iscsi_requeue_ctask(struct iscsi_cmd_task *ctask);
391extern void iscsi_free_mgmt_task(struct iscsi_conn *conn,
392 struct iscsi_mgmt_task *mtask);
393
394/*
395 * generic helpers
396 */
397extern void iscsi_pool_free(struct iscsi_pool *);

--- 21 unchanged lines hidden ---
390extern void iscsi_requeue_ctask(struct iscsi_cmd_task *ctask);
391extern void iscsi_free_mgmt_task(struct iscsi_conn *conn,
392 struct iscsi_mgmt_task *mtask);
393
394/*
395 * generic helpers
396 */
397extern void iscsi_pool_free(struct iscsi_pool *);

--- 21 unchanged lines hidden ---