Commit f2012edc authored by Pavel Emelyanov's avatar Pavel Emelyanov

actions: Move struct script into .c file

The same -- it's internal action-scripts.c business.
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent a9c08642
......@@ -24,6 +24,12 @@ static const char *action_names[ACT_MAX] = {
[ ACT_POST_RESUME ] = "post-resume",
};
struct script {
struct list_head node;
char *path;
int arg;
};
static LIST_HEAD(scripts);
int run_scripts(enum script_actions act)
......
#ifndef __CR_ACTION_SCRIPTS_H__
#define __CR_ACTION_SCRIPTS_H__
struct script {
struct list_head node;
char *path;
int arg;
};
#define SCRIPT_RPC_NOTIFY (char *)0x1
enum script_actions {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment