MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlHashUpdateEntry3

Function xmlHashUpdateEntry3

ThirdParty/libxml2/vtklibxml2/hash.c:812–823  ·  view source on GitHub ↗

* xmlHashUpdateEntry3: * @hash: hash table * @key: first string key * @key2: second string key * @key3: third string key * @payload: pointer to the payload * @dealloc: deallocator function for replaced item or NULL * * Add a hash table entry with three strings as key. * * See xmlHashUpdateEntry. * * Returns 0 on success and -1 in case of error. */

Source from the content-addressed store, hash-verified

810 * Returns 0 on success and -1 in case of error.
811 */
812int
813xmlHashUpdateEntry3(xmlHashTablePtr hash, const xmlChar *key,
814 const xmlChar *key2, const xmlChar *key3,
815 void *payload, xmlHashDeallocator dealloc) {
816 int res = xmlHashUpdateInternal(hash, key, key2, key3, payload,
817 dealloc, 1);
818
819 if (res == 1)
820 res = 0;
821
822 return(res);
823}
824
825/**
826 * xmlHashLookup:

Callers

nothing calls this directly

Calls 1

xmlHashUpdateInternalFunction · 0.85

Tested by

no test coverage detected