Reference/es_sd_getid_v
Syntax
unsigned es_sd_getid_v( struct es_sd *dict, char *str, char *end );
Arguments
struct es_sd *dict |
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 string dictionary dict . 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) or zero if the string has not been previously added to the dictionary via es_sd_add() or es_sd_add_v().
Use es_sd_getid() to retrieve string-id by null-terminated string.
[Back To Reference]
[Back To Reference/es_sd]
|