MXS-2271 Move script-related settings to the settings-container

Also moves related functions to class methods.
This commit is contained in:
Esa Korhonen
2019-01-28 17:47:48 +02:00
parent 0903648542
commit ce9b49d8d5
6 changed files with 64 additions and 69 deletions

View File

@ -19,14 +19,14 @@
MXS_BEGIN_DECLS
typedef struct extern_cmd_t
struct EXTERNCMD
{
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 */
uint32_t timeout; /**< Command timeout in seconds */
} EXTERNCMD;
};
char* externcmd_extract_command(const char* argstr);