Man page - libwget-stringmap(3)
Packages contas this manual
- libwget-random(3)
- libwget-console(3)
- libwget-dns(3)
- libwget-dns-caching(3)
- libwget-stringmap(3)
- libwget-utils(3)
- libwget-ip(3)
- libwget-io(3)
- libwget-net(3)
- libwget-printf(3)
- libwget-xalloc(3)
- libwget-thread(3)
- libwget-mem(3)
- libwget-error(3)
- libwget-bitmap(3)
- libwget-parse_sitemap(3)
- libwget-base64(3)
- libwget-robots(3)
- libwget-vector(3)
- libwget-xml(3)
- libwget-hash(3)
- libwget-parse_atom(3)
- libwget-hashmap(3)
- libwget-list(3)
apt-get install wget2-dev
Manual
| libwget-stringmap(3) | Library Functions Manual | libwget-stringmap(3) |
NAME
libwget-stringmap - Stringmap functions
SYNOPSIS
Functions
wget_stringmap * wget_stringmap_create (int max)
wget_stringmap * wget_stringmap_create_nocase (int max)
typedef wget_hashmap wget_stringmap
Type of the stringmap.
Detailed Description
Stringmaps are key/value stores that perform at O(1) for insertion, searching and removing. The key is a C string.
These functions are a wrapper around the Hashmap API.
Function Documentation
wget_stringmap * wget_stringmap_create (int max)
Parameters
Returns
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 (int max)
Parameters
Returns
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).
Author
Generated automatically by Doxygen for wget2 from the source code.
| Version 2.2.0 | wget2 |