WYRDTEK Home Features Reference Downloads About


Reference/es_mbc_addfldmbu_sd

Syntax

int es_mbc_addfldmbu_sd( struct es_mbc *cls, const char *fieldnm );

Arguments

struct es_mbc *cls A database class.
const char *fieldnm Field name.

Return Codes

ES_ERROR_NONE Success. No errors.
ES_ERROR_UNKNOWNFIELD Field name does not exist in class definition.
ES_ERROR_INVALIDFIELDTYPE Field is not of type ES_FLDTYPE_MBU.

Description

es_mbc_addfldmbu_sd is a wrapper over es_mbc_addfldmbu() for storing, saving and loading string dictionaries (struct es_sd*) in a database.

Predefined save, load and delete callback functions are provided for convenience. The user is invited to override their own functions as required.

[Back To Reference] [Back To Reference/es_mbc]