Cleaned up externcmd_allocate and externcmd_free

This commit is contained in:
Markus Makela
2015-11-11 16:00:00 +02:00
parent 9ab5326960
commit d56843835c
2 changed files with 36 additions and 36 deletions

View File

@ -9,7 +9,8 @@
#define MAXSCALE_EXTCMD_ARG_MAX 256
typedef struct extern_cmd_t{
char* parameters[MAXSCALE_EXTCMD_ARG_MAX]; /*< Command arguments */
char** argv; /*< Argument vector for the command, first being the actual command
* being executed. */
int n_exec; /*< Number of times executed */
pid_t child; /*< PID of the child process */
}EXTERNCMD;