sash_get, _sash_get, sash_exists - look up in a sash |
#include <hash.h> #define sash_get(sash,key,value) _sash_get((sash),(key),&(value)) int _sash_get (sash, const char *key, const char **ptr); #define sash_exists(sash,key) _sash_get ((sash), (key), 0) |
Get the value associated with key key and return true. If there is no value associated with key, this returns false and value is left unchanged. |
sash_exists simply tests whether or not key exists in the sash. If so, it returns true, otherwise false. |
Richard Jones <rich@annexia.org> |
GNU LGPL (see http://www.gnu.org/) |
c2lib-1.2.13 |