Structure to handle messages.
More...
#include <socket.h>
Structure to handle messages.
- Parameters
-
msg | The message to handle |
callback | The callback to call when the message is received |
lifespan | The number of time the message can be received |
data | The data to pass to the callback |
◆ msg
char* message_handler::msg |
◆ callback
int(* message_handler::callback) (int msglen, char *msg, void *p, void **data) |
◆ lifespan
int message_handler::lifespan |
◆ data
void** message_handler::data |
The documentation for this struct was generated from the following file: