#ifndef BUFF_H_ #define BUFF_H_ #define MSG_MAX_LEN 256 struct message { char msg[MSG_MAX_LEN]; }; int buf_init(void); int buf_deinit(void); int buf_consume(struct message *dest); int buf_push(const struct message *src); #endif