wget_stringmap*wget_stringmap_create(intmax)Parametersmax Initial number of pre-allocated entries
Returns
New stringmap instance
Create a new stringmap instance with initial size max. It should be free'd after use with
wget_stringmap_free().
The hash function is an efficient string hash algorithm originally researched by Paul Larson.
The compare function is strcmp(). The key strings are compared case-sensitive.
wget_stringmap*wget_stringmap_create_nocase(intmax)Parametersmax Initial number of pre-allocated entries
Returns
New stringmap instance
Create a new stringmap instance with initial size max. It should be free'd after use with
wget_stringmap_free().
The hash function is an efficient string hash algorithm originally researched by Paul Larson, using
lowercase'd keys.
The compare function is strcasecmp() (case-insensitive).