diff options
Diffstat (limited to 'dirmngr')
-rw-r--r-- | dirmngr/cdblib.c | 13 | ||||
-rw-r--r-- | dirmngr/crlcache.h | 2 |
2 files changed, 7 insertions, 8 deletions
diff --git a/dirmngr/cdblib.c b/dirmngr/cdblib.c index 52c17c98d..c04690ff8 100644 --- a/dirmngr/cdblib.c +++ b/dirmngr/cdblib.c @@ -298,16 +298,15 @@ cdb_find(struct cdb *cdbp, const void *key, cdbi_t klen) possible to have many than one record with the same key in a database, and these routines allow enumeration of all of them. cdb_findinit() initializes search structure pointed to by cdbfp. - It will return negative value on error or 0 on success. cdb_find� - next() attempts to find next matching key, setting value position - and length in cdbfp structure. It will return positive value if - given key was found, 0 if there is no more such key(s), or negative - value on error. To access value position and length after + It will return negative value on error or 0 on success. + cdb_findnext() attempts to find next matching key, setting value + position and length in cdbfp structure. It will return positive + value if given key was found, 0 if there is no more such key(s), or + negative value on error. To access value position and length after successeful call to cdb_findnext() (when it returned positive result), use cdb_datapos() and cdb_datalen() macros with cdbp pointer. It is error to use cdb_findnext() after it returned 0 or - error condition. These routines is a bit slower than - cdb_find(). + error condition. These routines is a bit slower than cdb_find(). Setting KEY to NULL will start a sequential search through the entire DB. diff --git a/dirmngr/crlcache.h b/dirmngr/crlcache.h index 6e9dc28ff..0e60def8f 100644 --- a/dirmngr/crlcache.h +++ b/dirmngr/crlcache.h @@ -1,5 +1,5 @@ /* crlcache.h - LDAP access - * Copyright (C) 2002 Klar�lvdalens Datakonsult AB + * Copyright (C) 2002 Klarälvdalens Datakonsult AB * * This file is part of DirMngr. * |