Toby Harris / iniparser

Dependents:   SPK-DVIMXR

Embed: (wiki syntax)

« Back to documentation index

_dictionary_ Struct Reference

_dictionary_ Struct Reference

Dictionary object. More...

#include <dictionary.h>

Data Fields

int size
 Number of entries in dictionary.
char ** val
 Storage size.
char ** key
 List of string values.
unsigned * hash
 List of string keys.

Detailed Description

Dictionary object.

This object contains a list of string/string associations. Each association is identified by a unique string key. Looking up values in the dictionary is speeded up by the use of a (hopefully collision-free) hash function.

Definition at line 41 of file dictionary.h.


Field Documentation

unsigned* hash

List of string keys.

Definition at line 46 of file dictionary.h.

char** key

List of string values.

Definition at line 45 of file dictionary.h.

int size

Number of entries in dictionary.

Definition at line 43 of file dictionary.h.

char** val

Storage size.

Definition at line 44 of file dictionary.h.