* 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. */
| 730 | * Returns 0 on success and -1 in case of error. |
| 731 | */ |
| 732 | int |
| 733 | xmlHashAddEntry3(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: |
nothing calls this directly
no test coverage detected