WYRDTEK Home Features Reference Downloads About



int es_sdm_loadbuffer( struct es_sdm *mgr, struct es_rb *rbuf );


struct es_sdm *mgr String dictionary manager to be loaded.
struct es_rb *rbuf File descriptor read buffer.

Return Codes

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


es_sdm_loadbuffer is a wrapper function over es_sdm_load() for de-serializing a string dictionary manager from an arbitrary file descriptor ( usually a socket ). The manager is de-serialized from struct es_rb *rbuf which must previously have been constructed with respect to some file descriptor.

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