Added prototypes for krb5_db_lock and krb5_db_unlock
authorTheodore Tso <tytso@mit.edu>
Thu, 1 Nov 1990 17:49:21 +0000 (17:49 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 1 Nov 1990 17:49:21 +0000 (17:49 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1396 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/kdb.h

index 57505048bff87df0f15d6d8734e60d08f5fdcf7f..340b573840a418040ba55d3a4d138c918fb2fea8 100644 (file)
@@ -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__ */
+