You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
256 B
14 lines
256 B
#ifndef _MYTYPES_H_
|
|
#define _MYTYPES_H_
|
|
|
|
#include "message.h"
|
|
|
|
// Message structure
|
|
struct message_t {
|
|
char *message;
|
|
uint16_t received_from, *sent_to;
|
|
observer_func *observers;
|
|
int message_length, num_sent_to, num_observers;
|
|
};
|
|
|
|
#endif // _MYTYPES_H_
|
|
|