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

13 lines
166 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-07-12 20:12:04 +00:00
#define COMMAND(c,p,d)
2017-02-25 21:47:06 +00:00
uint32_t call_cmd(char * s);
2017-02-25 21:47:06 +00:00
typedef struct{
char name[32];
2017-07-12 20:12:04 +00:00
char * doc;
2017-02-25 21:47:06 +00:00
void (*ptr)(char *);
}cmd_t;