Skip to main content

hash_lookup

Function hash_lookup 

Source
pub unsafe fn hash_lookup(
    table: *mut HashTable,
    name: *const xmlChar,
) -> *mut c_void
Expand description

Look up an entry by single key.

§UPSTREAM-PARITY

void *xmlHashLookup(xmlHashTablePtr table, const xmlChar *name);

Returns the payload, or NULL if not found.

§SAFETY

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