c-icap-doc
0.1
|
Arrays which store name/value pair items. More...
Typedefs | |
typedef ci_dyn_array_t | ci_ptr_dyn_array_t |
An alias to the ci_dyn_array_t object. More... | |
Functions | |
const ci_array_item_t * | ci_ptr_dyn_array_add (ci_ptr_dyn_array_t *ptr_array, const char *name, void *pointer) |
Add an name/value pair item to the array. More... | |
Arrays which store name/value pair items.
An alias to the ci_dyn_array_t object.
It is used to store pointers to an array. The ci_ptr_dyn_array_new, ci_ptr_dyn_array_destroy, ci_ptr_dyn_array_search and ci_ptr_dyn_array_iterate defines are equivalent to the ci_dyn_array_* functions with the required typecasting.
const ci_array_item_t* ci_ptr_dyn_array_add | ( | ci_ptr_dyn_array_t * | ptr_array, |
const char * | name, | ||
void * | pointer | ||
) |
Add an name/value pair item to the array.
ptr_array | a pointer to the ci_ptr_dyn_array_t object |
name | the name part of the name/pointer pair item to be added |
pointer | the pointer part of the name/value pair item to be added |