Data Structures | |
| struct | Cmaid_Container_Interface |
| The Container Interface structure The container interface is the case interface for all containers. More... | |
Defines | |
| #define | CMAID_CONTAINER_INTERFACE(i) ((const Cmaid_Container_Interface *)(i)) |
| Typecast a pointer to a Cmaid_Container_Interface pointer. | |
| #define | CMAID_CONTAINER_FUNC(c) ((c)->interface) |
Typedefs | |
| typedef int(* | Cmaid_Container_Count_Cb )(const Cmaid_Container *c) |
| typedef int(* | Cmaid_Container_Empty_Is_Cb )(const Cmaid_Container *c) |
| typedef void(* | Cmaid_Container_Clear_Cb )(Cmaid_Container *c) |
| typedef void(* | Cmaid_Container_Iter_Attach_Cb )(Cmaid_Container *c, Cmaid_Iter *it) |
| typedef void(* | Cmaid_Container_Iter_Detach_Cb )(Cmaid_Container *c, Cmaid_Iter *it) |
| typedef void(* | Cmaid_Container_Destroy_Cb )(Cmaid_Container *c) |
| typedef void(* | Cmaid_Container_Node_Free_Cb )(Cmaid_Container *c, void *node) |
| typedef struct Cmaid_Container_Interface | Cmaid_Container_Interface |
| #define CMAID_CONTAINER_FUNC | ( | c | ) | ((c)->interface) |
Macro to access the cache interface.
| typedef void(* Cmaid_Container_Clear_Cb)(Cmaid_Container *c) |
A type definition to shorten the definition of the clear callback.
| typedef int(* Cmaid_Container_Count_Cb)(const Cmaid_Container *c) |
A type definition to shorten the definition of the count callback.
| typedef void(* Cmaid_Container_Destroy_Cb)(Cmaid_Container *c) |
A type definition to shorten the definition of the destroy callback.
| typedef int(* Cmaid_Container_Empty_Is_Cb)(const Cmaid_Container *c) |
A type definition to shorten the definition of the empty_is callback.
| typedef struct Cmaid_Container_Interface Cmaid_Container_Interface |
Type definition for the container interface
| typedef void(* Cmaid_Container_Iter_Attach_Cb)(Cmaid_Container *c, Cmaid_Iter *it) |
A type definition to shorten the definition of the iter_attach callback.
| typedef void(* Cmaid_Container_Iter_Detach_Cb)(Cmaid_Container *c, Cmaid_Iter *it) |
A type definition to shorten the definition of the iter_detach callback.
| typedef void(* Cmaid_Container_Node_Free_Cb)(Cmaid_Container *c, void *node) |
A type definition to shorten the definition of the node free callback.
1.5.8