Structure holding message which can be put into message queue. More...
#include <msg_queue.h>

There is a need to allow destroing the message without knowing its internals (destroying message queue with non-processed messages) and thus the destroy_function able to fully destroy whole data hold by message must be given. It is mostly needed to choose the function manually only for complex data with pointers which content need to be freed too. For simple structures it is set automaticaly during the message creation.
Definition at line 65 of file msg_queue.h.
| anonymous enum |
| message_allocated_with_data |
data are allocated together with message structure |
| message_holding_data_ptr |
message holds only pointer to data |
Definition at line 75 of file msg_queue.h.
1.7.1