summaryrefslogtreecommitdiff
path: root/src/core/manager.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-05-09 01:24:50 +0200
committerLennart Poettering <lennart@poettering.net>2012-05-09 01:24:50 +0200
commit664f88a7e653918942b858e3f387be2ebc9ebf03 (patch)
treeb40346c72702bf7a88ea409e74c11f4a53dc7d3e /src/core/manager.h
parent14753f341937b75b244261f36807330456fa33a8 (diff)
manager: introduce SwitchRoot bus call for initrd/main transition
Diffstat (limited to 'src/core/manager.h')
-rw-r--r--src/core/manager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/manager.h b/src/core/manager.h
index 6d1f5d86c2..92dc75db55 100644
--- a/src/core/manager.h
+++ b/src/core/manager.h
@@ -45,6 +45,7 @@ typedef enum ManagerExitCode {
MANAGER_POWEROFF,
MANAGER_HALT,
MANAGER_KEXEC,
+ MANAGER_SWITCH_ROOT,
_MANAGER_EXIT_CODE_MAX,
_MANAGER_EXIT_CODE_INVALID = -1
} ManagerExitCode;
@@ -233,6 +234,9 @@ struct Manager {
/* Type=idle pipes */
int idle_pipe[2];
+
+ char *switch_root;
+ char *switch_root_init;
};
int manager_new(ManagerRunningAs running_as, Manager **m);