[7446] in Kerberos
Kerberos 960606 typo?
daemon@ATHENA.MIT.EDU (Julia Anne Case)
Mon Jun 10 17:34:30 1996
To: kerberos@MIT.EDU
Date: 10 Jun 1996 15:08:00 GMT
From: julie@linux1.MageNet.com (Julia Anne Case)
/*
* lib/kdb/kdb_dbm.c
*
*/
/*
* This module contains all of the code which directly interfaces to
* the underlying representation of the Kerberos database; this
* implementation uses the Berkeley hash db to store the relations, plus a
* second file as a semaphore to allow the database to be replaced out
* from underneath the KDC server.
*/
static kdb5_dispatch_table kdb5_default_dispatch = {
"Stock [N]DBM Database",
".dir", /* Index file name ext */
".pag", /* Data file name ext */
".ok", /* Lock file name ext */
dbm_open, /* Open Database */
dbm_close, /* Close Database */
dbm_fetch, /* Fetch Key */
dbm_firstkey, /* Fetch First Key */
dbm_nextkey, /* Fetch Next Key */
dbm_delete, /* Delete Key */
dbm_store, /* Store Key */
/*
* The following are #ifdef'd because they have the potential to be
* macros rather than functions.
*/
#ifndef dbm_error
(int (*)()) NULL, /* Get Database Error */
#else /* dbm_error */
dbm_error, /* Get Database Error */
#endif /* dbm_error */
#ifndef dbm_clearerr
(int (*)()) NULL, /* Clear Database Error */
#else /* dbm_clearerr */
dbm_clearerr, /* Clear Database Error */
#endif /* dbm_clearerr */
#ifdef dbm_dirfno
(int (*)()) NULL, /* Get DB index FD num */
#else /* dbm_dirfno */
dbm_dirfno, /* Get DB index FD num */
#endif /* dbm_dirfno */
#ifdef dbm_pagfno
(int (*)()) NULL, /* Get DB data FD num */
#else /* dbm_pagfno */
dbm_pagfno, /* Get DB data FD num */
#endif /* dbm_pagfno */
};
#endif /* BERK_DB_DBM */
Shouldn't it be
#ifndef function
(int (*)()) NULL,
#else
funciton,
#endif
????
Julie
---
[ Julia Anne Case ] [ Ships are safe inside the harbor, ]
[Programmer at large] [ but is that what ships are really for. ]
[ Admining Linux ] [ To thine own self be true. ]
[ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ]