![]() |
ndn-lite
|
#include <inttypes.h>#include <stdbool.h>#include <stddef.h>Go to the source code of this file.
Macros | |
| #define | NDN_MSGQUEUE_SIZE 4096 |
| The size of message queue in bytes. More... | |
Typedefs | |
| typedef void(* | ndn_msg_callback) (void *self, size_t param_length, void *param) |
| The callback function of message. More... | |
Functions | |
| void | ndn_msgqueue_init (void) |
| Init the message queue. More... | |
| struct ndn_msg * | ndn_msgqueue_post (void *target, ndn_msg_callback reason, size_t param_length, void *param) |
| Post a message to the queue. More... | |
| bool | ndn_msgqueue_dispatch (void) |
| Dispatch a message on the top of the queue. More... | |
| bool | ndn_msgqueue_empty (void) |
| Return if the messque queue is empty. More... | |
| void | ndn_msgqueue_process (void) |
| Dispatch current messages. More... | |
| void | ndn_msgqueue_cancel (struct ndn_msg *msg) |
| Cancel a posted message. More... | |
1.8.15