Changes to the includes so that krb5_db_lock and krb5_db_unlock are
authorTheodore Tso <tytso@mit.edu>
Mon, 15 Oct 1990 16:51:01 +0000 (16:51 +0000)
committerTheodore Tso <tytso@mit.edu>
Mon, 15 Oct 1990 16:51:01 +0000 (16:51 +0000)
exported as well.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1249 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/kdb_dbm.h

index 0401dd49c2be1bc63fc4d81c4d9eccebd9fd6feb..1da1295ff34da2c2a220c17d2a33e17ca29c1908 100644 (file)
 
 #define        DEFAULT_DBM_FILE                "/krb5/principal"
 
+/* exclusive or shared lock flags */
+#define        KRB5_DBM_SHARED         0
+#define        KRB5_DBM_EXCLUSIVE      1
+
+#define KRB5_DB_SHARED                 KRB5_DBM_SHARED
+#define KRB5_DB_EXCLUSIVE      KRB5_DBM_EXCLUSIVE
+
 /* #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
@@ -32,6 +39,8 @@
 #define krb5_dbm_db_put_principal krb5_db_put_principal
 #define krb5_dbm_db_delete_principal krb5_db_delete_principal
 #define krb5_dbm_db_iterate krb5_db_iterate
+#define krb5_dbm_db_lock krb5_db_lock
+#define krb5_dbm_db_unlock krb5_db_unlock
 
 /* libkdb.spec */
 krb5_error_code krb5_dbm_db_set_name PROTOTYPE((char * ));