| |||||||||||||||||||||
Reference/es_sdstruct es_sd is an opaque data structure representing a string dictionary. A string dictionary is a mapping from strings to integer identifiers, or string-ids in the range 1..N, where N is the number of strings in the dictionary. A string is regarded as a variable length sequence of bytes. If such a sequence contains bytes with zero value, however, the user is restricted to the es_sd_add_v() and es_sd_getid_v() functions, as the es_sd_add() and es_sd_getid() functions assume null-terminated strings. The object interface is as follows:
| |||||||||||||||||||||
Copyright © 2012 by Richard Brooks |