r6.0.1:lfds601_freelist_get_user_data_from_element
Jump to navigation
Jump to search
Source Files
/liblfds601/src/lfds601_freelist/lfds601_freelist_get_and_set.c /liblfds601/inc/liblfds601.h
Prototype
void *lfds601_freelist_get_user_data_from_element( struct lfds601_freelist_element *fe, void **user_data );
Parameters
struct lfds601_freelist_element *fe
- A pointer to a freelist element as obtained by lfds601_freelist_pop or lfds601_freelist_guaranteed_pop.
void **user_data
- A pointer to a pointer which will be set to hold the user data void pointer. This value can be NULL as the function also returns the void pointer of user data.
Return Value
Returns the user data void pointer from the freelist element.
Notes
This function gets the user data void pointer in the freelist element.