Reference/es_sdm_loadfile
Syntax
int es_sdm_loadfile( struct es_sdm *mgr, const char *filen, unsigned bufsize );
Arguments
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. |
Description
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]
|