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

Function xmlHashAdd2

ThirdParty/libxml2/vtklibxml2/hash.c:635–639  ·  view source on GitHub ↗

* xmlHashAdd2: * @hash: hash table * @key: first string key * @key2: second string key * @payload: pointer to the payload * * Add a hash table entry with two strings as key. * * See xmlHashAdd. * * Available since 2.13.0. * * Returns 1 on success, 0 if an entry exists and -1 in case of error. */

Source from the content-addressed store, hash-verified

633 * Returns 1 on success, 0 if an entry exists and -1 in case of error.
634 */
635int
636xmlHashAdd2(xmlHashTablePtr hash, const xmlChar *key,
637 const xmlChar *key2, void *payload) {
638 return(xmlHashUpdateInternal(hash, key, key2, NULL, payload, NULL, 0));
639}
640
641/**
642 * xmlHashAdd3:

Callers 3

xmlAddElementDeclFunction · 0.85
xmlGetDtdElementDesc2Function · 0.85
xmlAddSpecialAttrFunction · 0.85

Calls 1

xmlHashUpdateInternalFunction · 0.85

Tested by

no test coverage detected