Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/dist/heimdal/lib/hdb sync HEAD with v0-3e tag. it se...
details: https://anonhg.NetBSD.org/src/rev/854beb633c07
branches: trunk
changeset: 508113:854beb633c07
user: itojun <itojun%NetBSD.org@localhost>
date: Fri Apr 06 08:32:35 2001 +0000
description:
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
diffstat:
crypto/dist/heimdal/lib/hdb/db3.c | 2 +-
crypto/dist/heimdal/lib/hdb/hdb-private.h | 20 ++++++++++++++++++++
crypto/dist/heimdal/lib/hdb/hdb-protos.h | 17 +++++++++++++++++
crypto/dist/heimdal/lib/hdb/mkey.c | 2 +-
4 files changed, 39 insertions(+), 2 deletions(-)
diffs (93 lines):
diff -r 87ae4a52ca1b -r 854beb633c07 crypto/dist/heimdal/lib/hdb/db3.c
--- a/crypto/dist/heimdal/lib/hdb/db3.c Fri Apr 06 07:57:05 2001 +0000
+++ b/crypto/dist/heimdal/lib/hdb/db3.c Fri Apr 06 08:32:35 2001 +0000
@@ -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
diff -r 87ae4a52ca1b -r 854beb633c07 crypto/dist/heimdal/lib/hdb/hdb-private.h
--- a/crypto/dist/heimdal/lib/hdb/hdb-private.h Fri Apr 06 07:57:05 2001 +0000
+++ b/crypto/dist/heimdal/lib/hdb/hdb-private.h Fri Apr 06 08:32:35 2001 +0000
@@ -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__ */
diff -r 87ae4a52ca1b -r 854beb633c07 crypto/dist/heimdal/lib/hdb/hdb-protos.h
--- a/crypto/dist/heimdal/lib/hdb/hdb-protos.h Fri Apr 06 07:57:05 2001 +0000
+++ b/crypto/dist/heimdal/lib/hdb/hdb-protos.h Fri Apr 06 08:32:35 2001 +0000
@@ -86,6 +86,12 @@
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,
@@ -93,6 +99,11 @@
const char *filename));
krb5_error_code
+hdb_lock __P((
+ int fd,
+ int operation));
+
+krb5_error_code
hdb_ndbm_create __P((
krb5_context context,
HDB **db,
@@ -105,6 +116,12 @@
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,
diff -r 87ae4a52ca1b -r 854beb633c07 crypto/dist/heimdal/lib/hdb/mkey.c
--- a/crypto/dist/heimdal/lib/hdb/mkey.c Fri Apr 06 07:57:05 2001 +0000
+++ b/crypto/dist/heimdal/lib/hdb/mkey.c Fri Apr 06 08:32:35 2001 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index