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       wdbr_save(3),    wdbr_next(3),    wdb_keys(3),    wdb_column_delete(3),
34       wdbr_delete(3),    wdbc_create(3),     wdb_update(3),     wdbr_dump(3),
35       wdb_save(3),       wdbr_get(3),      wdbr_find(3),      wdbr_create(3),
36       wdbr_destroy(3),  wdb_attr_get(3),   wdb_attr_set(3),   wdbr_lookup(3),
37       wdb_create(3), wdb_attr_next(3), wdbc_destroy(3), wdb_open(3), wdb_col‐
38       umn_exchange(3),  wdb_destroy(3),  wdb_column_update(3),   wdbr_set(3),
39       wdb_column_insert
40
41
42
43ClearSilver                    14 November 2006                    wdb_keys(3)
Impressum