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

Function xmlHashAddEntry3

ThirdParty/libxml2/vtklibxml2/hash.c:732–744  ·  view source on GitHub ↗

* xmlHashAddEntry3: * @hash: hash table * @key: first string key * @key2: second string key * @key3: third string key * @payload: pointer to the payload * * Add a hash table entry with three strings as key. * * See xmlHashAddEntry. * * Returns 0 on success and -1 in case of error. */

Source from the content-addressed store, hash-verified

730 * Returns 0 on success and -1 in case of error.
731 */
732int
733xmlHashAddEntry3(xmlHashTablePtr hash, const xmlChar *key,
734 const xmlChar *key2, const xmlChar *key3,
735 void *payload) {
736 int res = xmlHashUpdateInternal(hash, key, key2, key3, payload, NULL, 0);
737
738 if (res == 0)
739 res = -1;
740 else if (res == 1)
741 res = 0;
742
743 return(res);
744}
745
746/**
747 * xmlHashUpdateEntry:

Callers

nothing calls this directly

Calls 1

xmlHashUpdateInternalFunction · 0.85

Tested by

no test coverage detected