From: John Kohl Date: Wed, 9 May 1990 17:06:03 +0000 (+0000) Subject: move comments here X-Git-Tag: krb5-1.0-alpha2~594 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a9758427c99baf5910b94a9a1e83edfce73d9ac3;p=krb5.git move comments here git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@811 dc483132-0cff-0310-8789-dd5450dbe970 --- 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)