linuxinstall/src/sandbox.h

27 lines
685 B
C
Raw Normal View History

2024-02-15 19:42:22 +01:00
#pragma once
#define VERSION "0.0.6"
2024-02-16 16:53:02 +01:00
2024-02-17 15:15:40 +01:00
#define SANDBOX_USER "sandbox"
typedef struct {
int (*handler)(int argc, char* argv[]);
const char* name;
const char* arguments;
const char* description;
const char* details;
} Command;
extern const Command COMMANDS[];
2024-02-16 16:53:02 +01:00
int main(int argc, char* argv[]);
int command_help(int argc, char* argv[]);
int command_version(int argc, char* argv[]);
2024-02-17 02:18:16 +01:00
int command_add_entry(int argc, char* argv[]);
int command_remove_entry(int argc, char* argv[]);
int command_list_entries(int argc, char* argv[]);
int command_clear_entries(int argc, char* argv[]);
int command_reset_entry(int argc, char* argv[]);
int command_update_entry(int argc, char* argv[]);