Searched defs:hook (Results 1 - 2 of 2) sorted by relevance

/lxc/src/lxc/
H A Dconfile.c139 { "lxc.hook.pre-start", config_hook },
140 { "lxc.hook.pre-mount", config_hook },
141 { "lxc.hook.mount", config_hook },
142 { "lxc.hook.autodev", config_hook },
143 { "lxc.hook.start", config_hook },
144 { "lxc.hook.stop", config_hook },
145 { "lxc.hook.post-stop", config_hook },
146 { "lxc.hook.clone", config_hook },
147 { "lxc.hook.destroy", config_hook },
148 { "lxc.hook", config_hoo
1040 add_hook(struct lxc_conf *lxc_conf, int which, char *hook) argument
[all...]
H A Dconf.c419 const char *script, const char *hook,
432 size += strlen(hook) + 1;
449 snprintf(buffer, size, "%s %s %s %s", script, name, section, hook);
3914 SYSERROR("Start hook %s not found in container",
4121 int run_lxc_hooks(const char *name, char *hook, struct lxc_conf *conf, argument
4127 if (strcmp(hook, "pre-start") == 0)
4129 else if (strcmp(hook, "pre-mount") == 0)
4131 else if (strcmp(hook, "mount") == 0)
4133 else if (strcmp(hook, "autodev") == 0)
4135 else if (strcmp(hook, "star
418 run_script_argv(const char *name, const char *section, const char *script, const char *hook, const char *lxcpath, char **argsin) argument
[all...]

Completed in 23 milliseconds