WYRDTEK Home Features Reference Downloads About



int es_sdm_loadfile( struct es_sdm *mgr, const char *filen, unsigned bufsize );


struct es_sdm *mgr String dictionary manager to be loaded.
const char *filen File path name prefix.
unsigned bufsize Buffer size used in de-serializing string dictionary manager.

Return Codes

ES_ERROR_NONE Success. No errors.
ES_ERROR_FAILTOLOAD Failed to load. Check errno for any system errors.


es_sdm_loadfile is a wrapper function over es_sdm_load() for de-serializing a string dictionary manager from a file. The manager must have been previously saved via es_sdm_savefile().

bufsize is the size of the internal buffer used by es_sdm_loadfile in de-serializing the manager.

[Back To Reference] [Back To Reference/es_sdm]