From a9758427c99baf5910b94a9a1e83edfce73d9ac3 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Wed, 9 May 1990 17:06:03 +0000 Subject: [PATCH] move comments here git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@811 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/dbm.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/include/krb5/dbm.h b/src/include/krb5/dbm.h index 37bda613e..0ba796960 100644 --- a/src/include/krb5/dbm.h +++ b/src/include/krb5/dbm.h @@ -29,6 +29,13 @@ #else /* OLD DBM */ typedef char DBM; +/* Macros to convert ndbm names to dbm names. + * Note that dbm_nextkey() cannot be simply converted using a macro, since + * it is invoked giving the database, and nextkey() needs the previous key. + * + * Instead, all routines call "dbm_next" instead. + */ + #define dbm_open(file, flags, mode) ((dbminit(file) == 0)?"":((char *)0)) #define dbm_fetch(db, key) fetch(key) #define dbm_store(db, key, content, flag) store(key, content) -- 2.26.2