Skip to main content

hash_add_entry3

Function hash_add_entry3 

Source
pub unsafe fn hash_add_entry3(
    table: *mut HashTable,
    name: *const xmlChar,
    name2: *const xmlChar,
    name3: *const xmlChar,
    userdata: *mut c_void,
) -> c_int
Expand description

Add an entry with three keys.

§UPSTREAM-PARITY

int xmlHashAddEntry3(xmlHashTablePtr table, const xmlChar *name,
                     const xmlChar *name2, const xmlChar *name3,
                     void *userdata);

Returns 0 on success, -1 if the key already exists or on failure.

§SAFETY

  • table must be a valid pointer to a HashTable.
  • name, name2, name3 must be valid null-terminated strings or NULL.