c-icap-doc  0.1
Typedefs | Functions


More...

Typedefs

typedef ci_vector_t ci_ptr_vector_t
 
The ci_ptr_vector is used to implement vectors storing pointers. More...
 

Functions

void * ci_ptr_vector_add (ci_vector_t *vector, void *pointer)
 
Add an item to the vector. More...
 

Detailed Description


Typedef Documentation

◆ ci_ptr_vector_t


The ci_ptr_vector is used to implement vectors storing pointers.

The ci_ptr_vector_create, ci_ptr_vector_destroy, ci_ptr_vector_iterate, and ci_ptr_vector_get defines are similar and equivalent to the ci_vector_* functions.

Function Documentation

◆ ci_ptr_vector_add()

void* ci_ptr_vector_add ( ci_vector_t vector,
void *  pointer 
)


Add an item to the vector.

Parameters
vectora pointer to the ci_vector_t object
pointerthe pointer to store in vector
Returns
a pointer to the new item on success, NULL otherwise