#ifndef COMMANDS_H #define COMMANDS_H #include "buffer.h" struct commands { char *text; void (*fun)(char *); void (*flush)(void); }; extern int commands(buffer *, struct commands *); #endif