Commenting the "signal" CMD.
This commit is contained in:
parent
12801e2a4c
commit
26be8717c5
@ -27,6 +27,10 @@
|
|||||||
#include "exchange_api_handle.h"
|
#include "exchange_api_handle.h"
|
||||||
#include "taler_testing_lib.h"
|
#include "taler_testing_lib.h"
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* State for a "signal" CMD.
|
||||||
|
*/
|
||||||
struct SignalState
|
struct SignalState
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
@ -38,15 +42,13 @@ struct SignalState
|
|||||||
* The signal to send to the process.
|
* The signal to send to the process.
|
||||||
*/
|
*/
|
||||||
int signal;
|
int signal;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Run the command.
|
* Run the command.
|
||||||
*
|
*
|
||||||
* @param cls closure, typically a #struct SignalState.
|
* @param cls closure.
|
||||||
* @param cmd the command to execute, a /wire one.
|
* @param cmd the command to execute.
|
||||||
* @param is the interpreter state.
|
* @param is the interpreter state.
|
||||||
*/
|
*/
|
||||||
static void
|
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.
|
* @param cmd the command which is being cleaned up.
|
||||||
*/
|
*/
|
||||||
static void
|
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 label command label.
|
||||||
* @param signal signal to send
|
* @param process handle to the process to signal.
|
||||||
|
* @param signal signal to send.
|
||||||
*
|
*
|
||||||
* @return the command.
|
* @return the command.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user