WYRDTEK Home Features Reference Downloads About


Reference/es_sdm_newsdc

Syntax

int es_sdm_newsdc( struct es_sdm *mgr,
                   const char *name,
                   struct es_sdc **res );

Arguments

struct es_sdm *mgr String dictionary manager.
const char *name Name of compressed string dictionary to be created.
struct es_sdc **res Assigned result. Passed by reference.

Return Codes

ES_ERROR_NONE Success. No errors.
ES_ERROR_FAILTOFIND No string dictionary with associated name found.

Description

Construct compressed string dictionary from existing string dictionary (constructed via es_sdm_addsd()) in manager with associated name. If a compressed string dictionary associated with name already exists it is first destroyed.

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