#ifndef MESSAGE_H #define MESSAGE_H #include typedef struct { int length; char *data; } message; message *create_message(const char *buff, size_t len, int user); void destroy_message(message *m); #endif