From 16197c37ad101d9c9bd9ddde7029d005091ec58b Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Mon, 15 Oct 1990 16:51:01 +0000 Subject: [PATCH] Changes to the includes so that krb5_db_lock and krb5_db_unlock are exported as well. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1249 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/kdb_dbm.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/include/krb5/kdb_dbm.h b/src/include/krb5/kdb_dbm.h index 0401dd49c..1da1295ff 100644 --- a/src/include/krb5/kdb_dbm.h +++ b/src/include/krb5/kdb_dbm.h @@ -18,6 +18,13 @@ #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 * )); -- 2.26.2