File: wdb_keys.3

package info (click to toggle)
clearsilver 0.10.5-3
  • links: PTS
  • area: main
  • in suites: buster
  • size: 3,304 kB
  • ctags: 3,158
  • sloc: ansic: 24,586; python: 4,233; sh: 2,502; cs: 1,429; ruby: 819; java: 735; makefile: 593; perl: 120; lisp: 34; sql: 21
file content (41 lines) | stat: -rw-r--r-- 1,139 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.TH wdb_keys 3 "12 July 2007" "ClearSilver" "util/wdb.h"

.de Ss
.sp
.ft CW
.nf
..
.de Se
.fi
.ft P
.sp
..
.SH NAME
wdb_keys \- return the key and column for the current database (clearsilver)
.SH SYNOPSIS
.Ss
#include <util/wdb.h>
.Se
.Ss
NEOERR * wdb_keys (WDB *wdb, char **primary_key, ULIST **data);

.Se

.SH ARGUMENTS
wdb - open database

.SH DESCRIPTION
this function returns the key and column names for the
current database

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

.SH "SEE ALSO"
.BR 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