WYRDTEK Home Features Reference Downloads About


Reference/es_mb

struct es_mb is an opaque data structure representing a database instance. Databases are constructed with respect to a database definition.

Databases are tree-like or hierarchical. They contain one or more root nodes (es_mbn) - so called because each node represents a set of data which may itself contain other nodes and so behaves like a tree.
es_mb_new Create new database instance.
es_mb_delete Destroy database instance.
es_mb_getnode Retrieve a root node from a database by class reference.
es_mb_getnodebyname Retrieve a root node from a database by name.
es_mb_getnodebyid Retrieve a root node from a database by class id.
es_mb_getclass Retrieve a class definition from a database by name.
es_mb_getclassbyid Retrieve a class definition from a database by integer id
es_mb_getnumclasses Retrieve the total number of class definitions in a database.
es_mb_save Serialize the contents of a database.
es_mb_load De-serialize the contents of a database.
es_mb_savefile Serialize the contents of a database to a file on disk.
es_mb_loadfile De-serialize the contents of a database from a file on disk.
es_mb_savebuffer Serialize the contents of a database to file-descriptor.
es_mb_loadbuffer De-serialize the contents of a database from a file-descriptor.
es_mb_savemap Serialize the contents of a database to a file in memory-map format.
es_mb_loadmap Memory-map a database from a file on disk.

[Back To Reference]