summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-05-28 13:38:20 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-05-28 13:38:20 +0200
commit26be8717c53dcc1f06214d8226df3d5249e7250b (patch)
treeaa7835f16f083e79ce1ea3913ac22be6617f719a /src
parent12801e2a4c586cad27e0a2a8f87f3d4255074b25 (diff)
downloadexchange-26be8717c53dcc1f06214d8226df3d5249e7250b.tar.gz
exchange-26be8717c53dcc1f06214d8226df3d5249e7250b.tar.bz2
exchange-26be8717c53dcc1f06214d8226df3d5249e7250b.zip
Commenting the "signal" CMD.
Diffstat (limited to 'src')
-rw-r--r--src/exchange-lib/testing_api_cmd_signal.c21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/exchange-lib/testing_api_cmd_signal.c b/src/exchange-lib/testing_api_cmd_signal.c
index cf07f05f5..b9487cd6f 100644
--- a/src/exchange-lib/testing_api_cmd_signal.c
+++ b/src/exchange-lib/testing_api_cmd_signal.c
@@ -27,6 +27,10 @@
#include "exchange_api_handle.h"
#include "taler_testing_lib.h"
+
+/**
+ * State for a "signal" CMD.
+ */
struct SignalState
{
/**
@@ -38,15 +42,13 @@ struct SignalState
* The signal to send to the process.
*/
int signal;
-
};
-
/**
* Run the command.
*
- * @param cls closure, typically a #struct SignalState.
- * @param cmd the command to execute, a /wire one.
+ * @param cls closure.
+ * @param cmd the command to execute.
* @param is the interpreter state.
*/
static void
@@ -67,9 +69,9 @@ signal_run (void *cls,
/**
- * Cleanup the state.
+ * Cleanup the state from a "signal" CMD.
*
- * @param cls closure, typically a #struct SignalState.
+ * @param cls closure.
* @param cmd the command which is being cleaned up.
*/
static void
@@ -83,10 +85,11 @@ signal_cleanup (void *cls,
/**
- * Send a signal to a process.
+ * Create a "signal" CMD.
*
- * @param process handle to the process
- * @param signal signal to send
+ * @param label command label.
+ * @param process handle to the process to signal.
+ * @param signal signal to send.
*
* @return the command.
*/