* 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. */
| 633 | * Returns 1 on success, 0 if an entry exists and -1 in case of error. |
| 634 | */ |
| 635 | int |
| 636 | xmlHashAdd2(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: |
no test coverage detected