shash_insert

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
LICENSE
VERSION

NAME

shash_insert, _shash_insert - insert a (key, value) pair into a shash

SYNOPSIS

#include <hash.h>

#define shash_insert(h,key,value) _shash_insert((h),(key),&(value))
int _shash_insert (shash, const char *key, const void *value);

DESCRIPTION

Insert an element (key, value) into the shash. If key already exists in the shash, then the existing value is replaced by value and the function returns true. If there was no previous key in the shash then this function returns false.

AUTHOR

Richard Jones <rich@annexia.org>

LICENSE

GNU LGPL (see http://www.gnu.org/)

VERSION

c2lib-1.2.13