Embedded Wireless Framework
|
Functions for abstracting the platform where EWF is running. More...
Typedefs | |
typedef struct _ewf_platform_queue | ewf_platform_queue |
The generic queue type. | |
Functions | |
ewf_result | ewf_platform_queue_create (ewf_platform_queue *queue_ptr) |
Create a queue. More... | |
ewf_result | ewf_platform_queue_destroy (ewf_platform_queue *queue_ptr) |
Destroy a queue. More... | |
ewf_result | ewf_platform_queue_enqueue (ewf_platform_queue *queue_ptr, const void *data_ptr, uint32_t data_size, bool wait) |
Enqueue an item. More... | |
ewf_result | ewf_platform_queue_dequeue (ewf_platform_queue *queue_ptr, void *buffer_ptr, uint32_t *buffer_size_ptr, bool wait) |
Dequeue an item. More... | |
Functions for abstracting the platform where EWF is running.
ewf_result ewf_platform_queue_create | ( | ewf_platform_queue * | queue_ptr | ) |
Create a queue.
ewf_result ewf_platform_queue_dequeue | ( | ewf_platform_queue * | queue_ptr, |
void * | buffer_ptr, | ||
uint32_t * | buffer_size_ptr, | ||
bool | wait | ||
) |
Dequeue an item.
ewf_result ewf_platform_queue_destroy | ( | ewf_platform_queue * | queue_ptr | ) |
Destroy a queue.
ewf_result ewf_platform_queue_enqueue | ( | ewf_platform_queue * | queue_ptr, |
const void * | data_ptr, | ||
uint32_t | data_size, | ||
bool | wait | ||
) |
Enqueue an item.