Lines Matching defs:option
33 static int DoRebootByInitPlugin(const char *mode, const char *option)
38 if (option != NULL) {
39 ret = snprintf_s(value, MAX_REBOOT_OPTION_SIZE, MAX_REBOOT_OPTION_SIZE - 1, "reboot,%s:%s", mode, option);
44 if (option != NULL) {
45 ret = snprintf_s(value, MAX_REBOOT_OPTION_SIZE, MAX_REBOOT_OPTION_SIZE - 1, "reboot,%s", option);
59 static int ExecReboot(const char *mode, const char *option)
68 DoRebootByInitPlugin(mode, option);
79 DoRebootByInitPlugin(mode, option);
85 int DoReboot(const char *option)
87 return ExecReboot(NULL, option);
90 int DoRebootExt(const char *mode, const char *option)
92 return ExecReboot(mode, option);