2024-02-15 19:42:22 +01:00
|
|
|
#pragma once
|
|
|
|
|
2024-02-17 23:59:38 +01:00
|
|
|
#define VERSION "0.0.9"
|
2024-02-16 16:53:02 +01:00
|
|
|
|
2024-02-17 15:15:40 +01:00
|
|
|
#define SANDBOX_USER "sandbox"
|
|
|
|
|
2024-02-17 00:40:09 +01:00
|
|
|
typedef struct {
|
|
|
|
int (*handler)(int argc, char* argv[]);
|
|
|
|
const char* name;
|
|
|
|
const char* arguments;
|
|
|
|
const char* description;
|
|
|
|
const char* details;
|
|
|
|
} Command;
|
|
|
|
|
2024-02-16 02:22:24 +01:00
|
|
|
int main(int argc, char* argv[]);
|
2024-02-17 00:40:09 +01:00
|
|
|
|
2024-02-17 23:59:38 +01:00
|
|
|
int CommandHelp(int argc, char* argv[]);
|
2024-02-18 00:07:44 +01:00
|
|
|
int CommandVersion(int argc, char* argv[]);
|
|
|
|
|
|
|
|
int CommandAddEntry(int argc, char* argv[]);
|
|
|
|
int CommandRemoveEntry(int argc, char* argv[]);
|
|
|
|
int CommandListEntries(int argc, char* argv[]);
|
|
|
|
int CommandClearEntries(int argc, char* argv[]);
|