* db-ndbm.h: Rename lots of functions to avoid collisions with
native dbm implementations.
* db-int.h: Rename __hash_open to avoid potential collision with
NetBSD libc.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10430
dc483132-0cff-0310-8789-
dd5450dbe970
+Fri Feb 13 14:39:25 1998 Tom Yu <tlyu@mit.edu>
+
+ * db.h: Rename dbopen to avoid collision with NetBSD libc.
+
+ * db-ndbm.h: Rename lots of functions to avoid collisions with
+ native dbm implementations.
+
+ * db-int.h: Rename __hash_open to avoid potential collision with
+ NetBSD libc.
+
Thu Aug 15 15:41:12 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
* db-ndbm.h: Add prototypes for missing functions dbm_error() and
/* open functions for each database type, used in dbopen() */
+#define __hash_open __kdb2_hash_open
DB *__bt_open __P((const char *, int, int, const BTREEINFO *, int));
DB *__hash_open __P((const char *, int, int, const HASHINFO *, int));
DB *__rec_open __P((const char *, int, int, const RECNOINFO *, int));
typedef DB DBM;
#define dbm_pagfno(a) DBM_PAGFNO_NOT_AVAILABLE
+#define dbm_close kdb2_dbm_close
+#define dbm_delete kdb2_dbm_delete
+#define dbm_fetch kdb2_dbm_fetch
+#define dbm_firstkey kdb2_dbm_firstkey
+#define dbm_forder kdb2_dbm_forder
+#define dbm_nextkey kdb2_dbm_nextkey
+#define dbm_open kdb2_dbm_open
+#define dbm_store kdb2_dbm_store
+#define dbm_dirinfo kdb2_dbm_dirinfo
+#define dbm_error kdb2_dbm_error
+#define dbm_clearerr kdb2_dbm_clearerr
+
__BEGIN_DECLS
void dbm_close __P((DBM *));
int dbm_delete __P((DBM *, datum));
#define __END_DECLS
#endif
+#define dbopen kdb2_dbopen
__BEGIN_DECLS
DB *dbopen __P((const char *, int, int, DBTYPE, const void *));
__END_DECLS