|
|
|
@ -6,13 +6,13 @@ cdb_find \- look up a key in a constant database
|
|
|
|
|
.br
|
|
|
|
|
.B #include <uint32.h>
|
|
|
|
|
|
|
|
|
|
int cdb_find(struct cdb *\fIc\fR,char *\fIkey\fR,unsigned int \fIkeylen\fR);
|
|
|
|
|
int cdb_find(struct cdb *\fIc\fR,char *\fIkey\fR,unsigned long int \fIkeylen\fR);
|
|
|
|
|
.br
|
|
|
|
|
int cdb_datalen(struct cdb *\fIc\fR);
|
|
|
|
|
.br
|
|
|
|
|
int cdb_datapos(struct cdb *\fIc\fR);
|
|
|
|
|
.br
|
|
|
|
|
int cdb_findnext(struct cdb *\fIc\fR,char *\fIkey\fR,unsigned int \fIkeylen\fR);
|
|
|
|
|
int cdb_findnext(struct cdb *\fIc\fR,char *\fIkey\fR,unsigned long int \fIkeylen\fR);
|
|
|
|
|
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
|
\fBcdb_find\fR looks for \fIkey\fR. If cdb_find returns 0, the database
|
|
|
|
|