diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2022-06-06 22:03:57 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2022-06-08 20:06:12 +0200 |
commit | d5d61d18c89af3f6743b7c56774eebdfdcc87b2c (patch) | |
tree | b4299c1af7e194e9083d4de1bce382102ea46e95 /src/cli/commands.h | |
download | OFQT-d5d61d18c89af3f6743b7c56774eebdfdcc87b2c.tar.gz OFQT-d5d61d18c89af3f6743b7c56774eebdfdcc87b2c.zip |
Release 0.1.00.1.0
Diffstat (limited to 'src/cli/commands.h')
-rw-r--r-- | src/cli/commands.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/cli/commands.h b/src/cli/commands.h new file mode 100644 index 0000000..d55edb9 --- /dev/null +++ b/src/cli/commands.h @@ -0,0 +1,15 @@ +#ifndef COMMANDS_H +#define COMMANDS_H + +#include <stddef.h> + +struct Command { + char* name; + int (*func)(int, char**); + char* description; +}; + +extern const struct Command commands[]; +extern const size_t commands_size; + +#endif
\ No newline at end of file |