pub unsafe fn hash_add_entry(
table: *mut HashTable,
name: *const xmlChar,
userdata: *mut c_void,
) -> c_intExpand description
Add an entry with a single key.
§UPSTREAM-PARITY
int xmlHashAddEntry(xmlHashTablePtr table, const xmlChar *name, void *userdata);Returns 0 on success, -1 if the key already exists or on failure.
§SAFETY
tablemust be a valid pointer to a HashTable, or NULL.namemust be a valid null-terminated string.