diff options
| author | John Kohl <jtkohl@mit.edu> | 1990-05-09 17:06:03 +0000 |
|---|---|---|
| committer | John Kohl <jtkohl@mit.edu> | 1990-05-09 17:06:03 +0000 |
| commit | a9758427c99baf5910b94a9a1e83edfce73d9ac3 (patch) | |
| tree | df6b4be13a153b0a4cadb918706cdd1f509875ce /src/include | |
| parent | 94fa95c9b43ba3e1eafda520c0460d2f4493f504 (diff) | |
| download | krb5-a9758427c99baf5910b94a9a1e83edfce73d9ac3.tar.gz krb5-a9758427c99baf5910b94a9a1e83edfce73d9ac3.tar.xz krb5-a9758427c99baf5910b94a9a1e83edfce73d9ac3.zip | |
move comments here
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@811 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/krb5/dbm.h | 7 |
1 files changed, 7 insertions, 0 deletions
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) |
