1wdb_keys(3)                       util/wdb.h                       wdb_keys(3)
2
3
4

NAME

6       wdb_keys
7

SYNOPSIS

9       #include <util/wdb.h>
10
11
12       NEOERR * wdb_keys (WDB *wdb, char **primary_key, ULIST **data);
13
14
15
16

ARGUMENTS

18       wdb - open database
19
20

DESCRIPTION

22       this function returns the key and column names for the current database
23
24

RETURN VALUE

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

SEE ALSO

33       wdb_destroy(3),     wdbr_delete(3),     wdb_update(3),    wdbr_dump(3),
34       wdb_save(3),    wdbr_create(3),    wdbr_destroy(3),    wdb_attr_set(3),
35       wdb_attr_next(3),   wdb_open(3),  wdb_column_exchange(3),  wdbr_set(3),
36       wdb_column_insert(3), wdbr_save(3), wdbr_next(3), wdb_keys(3), wdb_col‐
37       umn_delete(3),     wdbc_create(3),     wdbr_get(3),    wdb_attr_get(3),
38       wdbr_find(3), wdbr_lookup(3), wdb_create(3), wdbc_destroy(3),  wdb_col‐
39       umn_update
40
41
42
43ClearSilver                      12 July 2007                      wdb_keys(3)
Impressum