Embedded Wireless Framework
Data Structures | Macros | Functions
ewf_allocator.h File Reference
#include "ewf.h"

Go to the source code of this file.

Data Structures

struct  _ewf_allocator
 The allocator structure definition. More...
 

Macros

#define EWF_ALLOCATOR_STRUCT_MAGIC   (0xA110CA70) /* ~~ allocato(r) */
 
#define EWF_ALLOCATOR_STRUCT_SIZE   (sizeof(struct _ewf_allocator))
 
#define EWF_ALLOCATOR_VERSION   (EWF_DEVELOPER_MICROSOFT | 0x0001)
 
#define EWF_ALLOCATOR_VALIDATE_POINTER(allocator_ptr)
 
#define EWF_ALLOCATOR_VALIDATE_POINTER_TYPE(allocator_ptr, allocator_type)
 

Functions

ewf_result ewf_allocator_start (ewf_allocator *allocator_ptr)
 Start the allocator. More...
 
ewf_result ewf_allocator_stop (ewf_allocator *allocator_ptr)
 Stop the allocator. More...
 
ewf_result ewf_allocator_allocate (ewf_allocator *allocator_ptr, void **p)
 Allocate a block from the allocator. More...
 
ewf_result ewf_allocator_release (ewf_allocator *allocator_ptr, void *p)
 Release a block back to the allocator. More...
 

Detailed Description

Version
Preview

The Embedded Wireless Framework Allocator API