sync HEAD with v0-3e tag. it seems that it was left behind when heimdal

0.3e is imported.  without this change, lib/libhdb does not compile.
PR12560
This commit is contained in:
itojun 2001-04-06 08:32:35 +00:00
parent 6ee451eb01
commit 500c4f040b
4 changed files with 39 additions and 2 deletions

View File

@ -33,7 +33,7 @@
#include "hdb_locl.h"
RCSID("$Id: db3.c,v 1.1.1.2 2001/02/11 13:51:40 assar Exp $");
RCSID("$Id: db3.c,v 1.2 2001/04/06 08:32:35 itojun Exp $");
#if defined(HAVE_DB_H) && DB_VERSION_MAJOR == 3
static krb5_error_code

View File

@ -13,4 +13,24 @@
#endif
#endif
krb5_error_code
_hdb_fetch __P((
krb5_context context,
HDB *db,
unsigned flags,
hdb_entry *entry));
krb5_error_code
_hdb_remove __P((
krb5_context context,
HDB *db,
hdb_entry *entry));
krb5_error_code
_hdb_store __P((
krb5_context context,
HDB *db,
unsigned flags,
hdb_entry *entry));
#endif /* __hdb_private_h__ */

View File

@ -86,12 +86,23 @@ hdb_init_db __P((
krb5_context context,
HDB *db));
int
hdb_key2principal __P((
krb5_context context,
krb5_data *key,
krb5_principal p));
krb5_error_code
hdb_ldap_create __P((
krb5_context context,
HDB ** db,
const char *filename));
krb5_error_code
hdb_lock __P((
int fd,
int operation));
krb5_error_code
hdb_ndbm_create __P((
krb5_context context,
@ -105,6 +116,12 @@ hdb_next_enctype2key __P((
krb5_enctype enctype,
Key **key));
int
hdb_principal2key __P((
krb5_context context,
krb5_principal p,
krb5_data *key));
krb5_error_code
hdb_print_entry __P((
krb5_context context,

View File

@ -36,7 +36,7 @@
#define O_BINARY 0
#endif
RCSID("$Id: mkey.c,v 1.1.1.2 2001/02/11 13:51:40 assar Exp $");
RCSID("$Id: mkey.c,v 1.2 2001/04/06 08:32:35 itojun Exp $");
struct hdb_master_key_data {
krb5_keytab_entry keytab;