libamxp
1.4.0
Patterns C Implementation
|
Ambiorix process control. More...
Go to the source code of this file.
Data Structures | |
struct | _amxp_proc_ctrl |
Structure containing the child process control. More... | |
Typedefs | |
typedef int(* | amxp_proc_ctrl_cmd_t) (amxc_array_t *cmd, amxc_var_t *settings) |
Command builder callback function signature. More... | |
typedef struct _amxp_proc_ctrl | amxp_proc_ctrl_t |
Structure containing the child process control. More... | |
Functions | |
int | amxp_proc_ctrl_new (amxp_proc_ctrl_t **proc, amxp_proc_ctrl_cmd_t cmd_build_fn) |
Allocates and initializes an amxp_proc_ctrl_t. More... | |
void | amxp_proc_ctrl_delete (amxp_proc_ctrl_t **proc) |
Clean-up and frees previously allocated memory. More... | |
int | amxp_proc_ctrl_start (amxp_proc_ctrl_t *proc, uint32_t minutes, amxc_var_t *settings) |
Launches the child process. More... | |
int | amxp_proc_ctrl_stop (amxp_proc_ctrl_t *proc) |
Stops the child process. More... | |
void | amxp_proc_ctrl_set_active_duration (amxp_proc_ctrl_t *proc, uint32_t minutes) |
Sets the active time durations. More... | |
void | amxp_proc_ctrl_stop_childs (amxp_proc_ctrl_t *proc) |
Stop all child processes of the child process. More... | |
int | amxp_proc_ctrl_get_child_pids (amxp_proc_ctrl_t *proc) |
Fetches the process ids of the children of the launched child process. More... | |
Ambiorix process control.
Definition in file amxp_proc_ctrl.h.