Skip to content

LordOS — a free, fast and secure GNU/Linux distribution based on Debian, with its own desktop environment: display server and Wayland compositor in C, a React UI engine on QuickJS, and private native apps.

658 B
Raw Blame
/* install.h — LordOS installer to disk, only from the live ISO (see install.c and docs/ISO.md). */
#ifndef LORD_INSTALL_H
#define LORD_INSTALL_H

#include "../admin.h"

void install_act_disks(const AdminReq *r, const char *arg, size_t len);
void install_act_run(const AdminReq *r, const char *arg, size_t len);
void install_act_reboot(const AdminReq *r, const char *arg, size_t len);

/* Privileged helper actions (admin.c). They all answer ERR outside live mode. */
#define INSTALL_ADMIN_ACTIONS \
    { "install-disks", install_act_disks, 0 }, \
    { "install-run", install_act_run, A_FORK }, \
    { "install-reboot", install_act_reboot, 0 },

#endif