WYRDTEK Home Features Reference Downloads About



int es_sdm_savebuffer( struct es_sdm *mgr, struct es_wb *wbuf );


struct es_sdm *mgr String dictionary manager to be saved.
struct es_wb *wbuf File descriptor write buffer.

Return Codes

ES_ERROR_NONE Success. No errors.
ES_ERROR_FAILTOSAVE Failed to save. Check errno for any system errors.


es_sdm_savebuffer is a wrapper function over es_sdm_save() for serializing a string dictionary manager to an arbitrary file descriptor ( usually a socket ). The manager is serialized to struct es_wb *wbuf which must previously have been constructed with respect to some file descriptor.

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