User Tools

Site Tools


Sidebar

Table Of Contents

endurox:v7.5.x:api:ubf:bflddbname.3

bflddbname

Name

Bflddbname — Get field name from field id (compiled)

Synopsis

#include <ubf.h>

char * Bflddbname (BFLDID bfldid);

Link with -lubf -lnstd -lm -lpthread

DESCRIPTION

Resolve field name from field id (compiled) specified in bfldid parameter. Function returns field name, which is stored in single slot of Thread Local Storage (TLS).

Function is thread safe.

RETURN VALUE

On success, Bflddbname() returns ptr to field name; on error, NULL is returned.

ERRORS

Note that Bstrerror() returns generic error message plus custom message with debug info from last function call.

BEINVAL corrupted data stored in LMDB.

BEUNIX LMDB Error.

BBADNAME name not found or no database defined.

BMALLOC failed to allocate database structures.

BNOSPACE lmdb max readers reached or other limit, see logs for details.

EXAMPLE

See atmitest/test050_ubfdb/atmiclt50.c for sample code.

BUGS

Report bugs to support@mavimax.com

COPYING

© Mavimax, Ltd