Reference/es_sdc_getid_v
Syntax
unsigned es_sdc_getid_v( struct es_sdc *cdict, char *str, char *end );
Arguments
struct es_sdc *cdict |
Compressed string dictionary. |
const char *str |
Start of string. |
const char *end |
Pointer to one character beyond end of string. |
|
Description
Retrieve string-id by string from compressed string dictionary cdict . String starts at str and ends one character before end . Returns string-id (in the range 1..N, where N is the number of strings stored in the dictionary). If the string does not exist in the compressed dictionary the behaviour is undefined.
Use es_sdc_getid() to retrieve string-id by null-terminated string.
[Back To Reference]
[Back To Reference/es_sdc]
|