Utility that implements a list and a map at the same time. More...
#include <listmap.h>
Data Fields | |
imquic_listmap_key | type |
Key type. | |
GList * | list |
Linked list. | |
GList * | index |
Current index in the list, when traversing. | |
GList * | last |
Last item in the linked list (for appending without traversing the whole list) | |
GHashTable * | table |
Hashtable to implement the map part. | |
int | length |
Number of items in the listmap. | |
GDestroyNotify | destroy |
Function to invoke when a stored item is removed. | |
Utility that implements a list and a map at the same time.
GDestroyNotify imquic_listmap::destroy |
Function to invoke when a stored item is removed.
GList* imquic_listmap::index |
Current index in the list, when traversing.
GList* imquic_listmap::last |
Last item in the linked list (for appending without traversing the whole list)
int imquic_listmap::length |
Number of items in the listmap.
GList* imquic_listmap::list |
Linked list.
GHashTable* imquic_listmap::table |
Hashtable to implement the map part.
imquic_listmap_key imquic_listmap::type |
Key type.