return -1;
}
+bool platform_restrict_clients(){
+ if (platform && platform->restrict_clients)
+ return platform->restrict_clients(platform);
+ return false;
+}
+
+int platform_set_password(const char *hash)
+{
+ if (platform && platform->set_password)
+ return platform->set_password(platform, hash);
+ return -1;
+}
+
int config_set(struct config *newconfig)
{
int rc;
return rc;
}
-static void config_populate_bootdev(struct config *config,
+void config_populate_bootdev(struct config *config,
const struct param_list *pl)
{
struct autoboot_option *opt, *new = NULL;