* 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. */
| 810 | * Returns 0 on success and -1 in case of error. |
| 811 | */ |
| 812 | int |
| 813 | xmlHashUpdateEntry3(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: |
nothing calls this directly
no test coverage detected