wdb_keys(3)
π NAME: wdb_keys π
okay so bestie, this is wdb_keys(3) from util/wdb.h β the little icon that returns the key and column names for the current database. π
β¨
πΈ SYNOPSIS πΈ
#include <util/wdb.h>
NEOERR * wdb_keys (WDB *wdb, char **primary_key, ULIST **data);
π ARGUMENTS π
wdbβ open database. like, already open, bestie β not a βplease open meβ situation π«Ά
π¦ DESCRIPTION π¦
this function returns the key and column names for the current database. thatβs the whole vibe check, no cap ππ«
π RETURN VALUE π
primary_keyβ pointer to the primary key πdataβ pointer to aULISTof the columns π§΅
both of these are allocated structures, so theyβre real and theyβre yours to handle. you can clear data with uListDestroy (data, ULIST_FREE) β clean up after yourself, queen ππ
π SEE ALSO π
wdb_destroy(3)wdbr_delete(3)wdb_update(3)wdbr_dump(3)wdb_save(3)wdbr_create(3)wdbr_destroy(3)wdb_attr_set(3)wdb_attr_next(3)wdb_open(3)wdb_column_exchange(3)wdbr_set(3)wdb_column_insert(3)wdbr_save(3)wdbr_next(3)wdb_keys(3)wdb_column_delete(3)wdbc_create(3)wdbr_get(3)wdb_attr_get(3)wdbr_find(3)wdbr_lookup(3)wdb_create(3)wdbc_destroy(3)wdb_column_update
mwah π β with love from the ClearSilver girlies, dated 12 July 2007, signed wdb_keys(3). byeee ππ
π¦ where this page comes from
- epel 10: clearsilver 0.10.5-80.el10_2 Β· Apache-1.1
- epel 9: clearsilver 0.10.5-74.el9 Β· Apache-1.1
- fedora 43: clearsilver 0.10.5-80.fc43 Β· Apache-1.1
- fedora 44: clearsilver 0.10.5-82.fc44 Β· Apache-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms