1
0
mirror of https://github.com/rene-dev/stmbl.git synced 2024-12-20 15:42:18 +00:00
stmbl/shared/commands.h

13 lines
168 B
C
Raw Permalink Normal View History

2017-02-25 21:47:06 +00:00
#pragma once
#include <stdint.h>
2017-02-25 21:47:06 +00:00
2017-09-06 02:20:06 +00:00
#define COMMAND(c, p, d)
2017-02-25 21:47:06 +00:00
2017-09-06 02:20:06 +00:00
uint32_t call_cmd(char *s);
2017-09-06 02:20:06 +00:00
typedef struct {
2017-02-25 21:47:06 +00:00
char name[32];
2017-09-06 02:20:06 +00:00
char *doc;
2017-02-25 21:47:06 +00:00
void (*ptr)(char *);
2017-09-06 02:20:06 +00:00
} cmd_t;