summaryrefslogtreecommitdiffstats
path: root/utils/mirror_vfd
diff options
context:
space:
mode:
Diffstat (limited to 'utils/mirror_vfd')
-rw-r--r--utils/mirror_vfd/mirror_writer.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/utils/mirror_vfd/mirror_writer.c b/utils/mirror_vfd/mirror_writer.c
index 9cd9b4c..fe5dac7 100644
--- a/utils/mirror_vfd/mirror_writer.c
+++ b/utils/mirror_vfd/mirror_writer.c
@@ -1033,7 +1033,23 @@ done:
} /* end process_instructions() */
-/* ------------------------------------------------------------------------- */
+/* ---------------------------------------------------------------------------
+ * Function: run_writer
+ *
+ * Purpose: Initiate Writer operations.
+ *
+ * Receives as parameters a socket which has accepted the
+ * connection to the Driver and the OPEN xmit (which must be
+ * decoded into the structure and verified prior to being passed
+ * to this function).
+ *
+ * Is not responsible for closing or cleaning up any of the
+ * received parameters.
+ *
+ * Return: Success: SUCCEED
+ * Failure: FAIL
+ * ---------------------------------------------------------------------------
+ */
herr_t
run_writer(int socketfd, H5FD_mirror_xmit_open_t *xmit_open)
{