blob: 26f572ba0bf341cc93ea61eb972d2679afe3d239 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include <wchar.h>
#include <stdbool.h>
typedef bool (*cmd_func)(const wchar_t *args);
struct cmd {
const wchar_t *name;
cmd_func func;
};
void cmd_init(void);
extern const struct cmd commands[];
extern const size_t command_count;
extern wchar_t *cmd_status;
|