|
From: <bva...@us...> - 2018-02-04 23:06:00
|
Revision: 7356
http://sourceforge.net/p/scst/svn/7356
Author: bvassche
Date: 2018-02-04 23:05:58 +0000 (Sun, 04 Feb 2018)
Log Message:
-----------
scst: Document scst_register_session_mq() arguments
Modified Paths:
--------------
trunk/scst/src/scst_targ.c
Modified: trunk/scst/src/scst_targ.c
===================================================================
--- trunk/scst/src/scst_targ.c 2018-02-04 17:55:38 UTC (rev 7355)
+++ trunk/scst/src/scst_targ.c 2018-02-04 23:05:58 UTC (rev 7356)
@@ -8363,6 +8363,22 @@
/**
* scst_register_session_mq() - register multi-queue session
+ * @tgt: target
+ * @atomic: True if called from atomic context. If false,
+ * this function will block until the session registration is
+ * completed.
+ * @initiator_name: Remote initiator name, NULL-terminated, e.g. the iSCSI
+ * initiator name. Used as key when looking up access control
+ * group information. If NULL then the default target's LUNs are
+ * used.
+ * @tgt_priv: Pointer to the private data of the target driver.
+ * @result_fn_data: Any target driver supplied data.
+ * @result_fn: Pointer to a function that will be asynchronously when session
+ * initialization has finished. Can be NULL. Parameters:
+ * - sess - session.
+ * - data - @result_fn_data.
+ * - result - session initialization result, 0 on success or
+ * appropriate error code otherwise.
*
* Description:
* Registers new MQ session. Returns new session on success or NULL otherwise.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|