Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

sah_Mem_Util Struct Reference
[Link Flags]

#include <sahara.h>

List of all members.


Detailed Description

Structure for API memory utilities.

FIELDS

void * ref - parameter to be passed into the memory function calls

void * (*malloc)(void *ref, size_t n) - pointer to user's malloc function

void (*free)(void *ref, void *ptr) - pointer to user's free function

void * (*memcpy)(void *ref, void *dest, const void *src, size_t n) - pointer to user's memcpy function

void * (*memset)(void *ref, void *ptr, int ch, size_t n) - pointer to user's memset function

Definition at line 816 of file sahara.h.


Public Attributes

sah_Desc *(* mu_alloc_desc )(void *ref)
sah_Head_Desc *(* mu_alloc_head_desc )(void *ref)
sah_Link *(* mu_alloc_link )(void *ref)
void(* mu_free )(void *ref, void *ptr)
void(* mu_free_desc )(void *ref, sah_Desc *ptr)
void(* mu_free_head_desc )(void *ref, sah_Head_Desc *ptr)
void(* mu_free_link )(void *ref, sah_Link *ptr)
void *(* mu_malloc )(void *ref, size_t n)
void *(* mu_memcpy )(void *ref, void *dest, const void *src, size_t n)
void *(* mu_memset )(void *ref, void *ptr, int ch, size_t n)
void * mu_ref

The documentation for this struct was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index