#define the DBM names to the real names, to avoid a level of indirection
authorJohn Kohl <jtkohl@mit.edu>
Wed, 7 Feb 1990 17:41:51 +0000 (17:41 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Wed, 7 Feb 1990 17:41:51 +0000 (17:41 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@305 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/kdb_dbm.h

index 217b71c465f834905119081be8cf186abc7aeef0..f8d5ffb93d858d2602cef1cf224572c9a6ed5073 100644 (file)
 
 #define        DEFAULT_DBM_FILE                "/krb5/principal"
 
+/* #define these to avoid an indirection function; for future implementations,
+   these may be redirected from a dispatch table/routine */
+#define krb5_dbm_db_set_name krb5_db_set_name
+#define krb5_dbm_db_set_nonblocking krb5_db_set_nonblocking
+#define krb5_dbm_db_init krb5_db_init
+#define krb5_dbm_db_fini krb5_db_fini
+#define krb5_dbm_db_get_age krb5_db_get_age
+#define krb5_dbm_db_create krb5_db_create
+#define krb5_dbm_db_rename krb5_db_rename
+#define krb5_dbm_db_get_principal krb5_db_get_principal
+#define krb5_dbm_db_free_principal krb5_db_free_principal
+#define krb5_dbm_db_put_principal krb5_db_put_principal
+#define krb5_dbm_db_iterate krb5_db_iterate
+
 /* libkdb.spec */
 krb5_error_code krb5_dbm_db_set_name PROTOTYPE((char * ));
 krb5_error_code krb5_dbm_db_set_nonblocking PROTOTYPE((krb5_boolean,