Step-wise search for an entity in the dictionary.
- Parameters
-
c | Character to look for |
result | Pointer to location for result |
context | Pointer to location for search context |
- Returns
- HUBBUB_OK if key found, HUBBUB_NEEDDATA if more steps are required HUBBUB_INVALID if nothing matches
The value pointed to by context
should be -1 for the first call. Thereafter, pass in the same value as returned by the previous call. The context is opaque to the caller and should not be inspected.
The location pointed to by result
will be set to U+FFFD unless a match is found.