wdb_keys (3) - Linux Man Pages

NAME

wdb_keys

SYNOPSIS

#include <util/wdb.h>

NEOERR * wdb_keys (WDB *wdb, char **primary_key, ULIST **data);

ARGUMENTS

wdb - open database

DESCRIPTION

this function returns the key and column names for the current database

RETURN VALUE

primary_key - pointer to the primary key
data - pointer to a ULIST of the columns.
both of these are allocated structures, you can clear data
with uListDestroy (data, ULIST_FREE)