diff options
Diffstat (limited to 'src/include/commands.h')
-rw-r--r-- | src/include/commands.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/include/commands.h b/src/include/commands.h index fed35e7..ea15add 100644 --- a/src/include/commands.h +++ b/src/include/commands.h @@ -1,12 +1,14 @@ #ifndef COMMANDS_H #define COMMANDS_H +#include "buffer.h" + struct commands { char *text; - void (*fun)(); - void (*flush)(); + void (*fun)(char *); + void (*flush)(void); }; -int commands(); +extern int commands(buffer *, struct commands *); #endif |