
Go to the source code of this file.
Typedefs | |
| typedef unsigned char | byte |
| A byte is an unsigned char. | |
| typedef int(* | cdsa_compare_func_t )(const void *const p1, const void *const p2) |
| The type of functions that define the ordering of elements in a data structure by returning less than 0 if p1 is less than p2, 0 if they are equal, and greater than 0 if p1 is greater than p2. | |
| typedef void(* | cdsa_visit_func1_t )(const void *const elem) |
| The type of functions for visiting elements of a container-like structure that stores single elements (as opposed to a map-like structure that contains pairs of elements). | |
| typedef void(* | cdsa_visit_map_func_t )(const void *const k, void *v) |
| The type of functions for visiting (key, value) pairs of map-like structures. | |
| typedef void(* | cdsa_destroy_func1_t )(void *ptr) |
| The type of destroy functions for container-like structures. | |
| typedef void(* | cdsa_destroy_map_func_t )(void *k, void *v) |
| The type of destroy functions for map-like structures. | |
Enumerations | |
| enum | cdsa_status_t { CDSA_SUCCESS, CDSA_NO_RESULT, CDSA_ERR, CDSA_INVALID_ARG_ERR, CDSA_NULL_ARG_ERR, CDSA_INVALID_STATE_ERR, CDSA_EMPTY_ERR, CDSA_ALLOC_ERR } |
| An enumeration of all return codes used by public functions of CDSA. More... | |
Definition in file cdsa_types.h.
The type of functions for visiting (key, value) pairs of map-like structures.
Keys should not be altered, but values may be changed unless otherwise noted.
Definition at line 71 of file cdsa_types.h.
The type of destroy functions for map-like structures.
It is passed a pointer to each (key, value) pair in the structure. The traversal order is unspecified unless otherwise noted.
Definition at line 87 of file cdsa_types.h.
| enum cdsa_status_t |
An enumeration of all return codes used by public functions of CDSA.
Definition at line 27 of file cdsa_types.h.
1.5.7.1