From: Theodore Tso Date: Thu, 1 Nov 1990 17:49:21 +0000 (+0000) Subject: Added prototypes for krb5_db_lock and krb5_db_unlock X-Git-Tag: krb5-1.0-alpha2~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9da6165541a8b8840a12c29018684b2b96c7af83;p=krb5.git Added prototypes for krb5_db_lock and krb5_db_unlock git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1396 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/krb5/kdb.h b/src/include/krb5/kdb.h index 57505048b..340b57384 100644 --- a/src/include/krb5/kdb.h +++ b/src/include/krb5/kdb.h @@ -102,6 +102,16 @@ krb5_error_code krb5_kdb_decrypt_key krb5_keyblock *)); krb5_error_code krb5_db_setup_mkey_name PROTOTYPE((const char *, const char *, char **, krb5_principal *)); +krb5_error_code krb5_db_lock + PROTOTYPE((int )); +krb5_error_code krb5_db_unlock + PROTOTYPE ((void )); + +/* XXX I give up.... the following int should be a krb5_boolean, but */ + /* it causes gcc to give up and die. */ +krb5_boolean krb5_db_set_lockmode + PROTOTYPE((int )); + #define KRB5_KDB_DEF_FLAGS (KRB5_KDB_DISALLOW_DUP_SKEY) @@ -109,3 +119,4 @@ krb5_error_code krb5_db_setup_mkey_name #define TGTNAME "krbtgt" #endif /* KRB5_KDB5__ */ +