Programming Guide



sm_ldb_*unload

Unloads LDBs from memory

int sm_ldb_unload(char *ldbname);
int sm_ldb_h_unload(int ldbhandle);

ldbname
The name of the LDB to unload.

ldbhandle
The integer handle of the LDB to unload.

Returns

Description

sm_ldb_unload unloads LDBs and free the memory allocated for it. If the LDB is loaded more than once, use sm_ldb_unload to unload all instances; to unload a specific instance, supply its handle with sm_ldb_h_unload.