Loading...
Searching...
No Matches
Data Fields
imquic_listmap Struct Reference

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.
 

Detailed Description

Utility that implements a list and a map at the same time.

Field Documentation

◆ destroy

GDestroyNotify imquic_listmap::destroy

Function to invoke when a stored item is removed.

◆ index

GList* imquic_listmap::index

Current index in the list, when traversing.

◆ last

GList* imquic_listmap::last

Last item in the linked list (for appending without traversing the whole list)

◆ length

int imquic_listmap::length

Number of items in the listmap.

◆ list

GList* imquic_listmap::list

Linked list.

◆ table

GHashTable* imquic_listmap::table

Hashtable to implement the map part.

◆ type

imquic_listmap_key imquic_listmap::type

Key type.


The documentation for this struct was generated from the following file: