krb5_addrtype, krb5_keytyp, krb5_enctype, krb5_cksumtype,
and krb5_authdatatype as unsigned int.
* kdb_dbm.h krb5_dbm_db_set_lockmode(), krb5_dbm_db_set_nonblocking()
Fix prototypes to use krb5_boolean and not int.
* kdb.h krb5_db_set_lockmode(), krb5_db_set_nonblocking()
Fix prototypes to use krb5_boolean and not int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4856
dc483132-0cff-0310-8789-
dd5450dbe970
#define TRUE 1
#endif
-typedef int krb5_boolean;
-typedef int krb5_msgtype;
-typedef int krb5_kvno;
-
-typedef int krb5_addrtype;
-typedef int krb5_keytype;
-typedef int krb5_enctype;
-typedef int krb5_cksumtype;
-typedef int krb5_authdatatype;
+typedef unsigned int krb5_boolean;
+typedef unsigned int krb5_msgtype;
+typedef unsigned int krb5_kvno;
+
+typedef unsigned int krb5_addrtype;
+typedef unsigned int krb5_keytype;
+typedef unsigned int krb5_enctype;
+typedef unsigned int krb5_cksumtype;
+typedef unsigned int krb5_authdatatype;
typedef krb5_int32 krb5_preauthtype; /* This may change, later on */
typedef krb5_int32 krb5_flags;
int ));
krb5_error_code krb5_db_unlock
PROTOTYPE((krb5_context));
-
-/* need to play games here, since we take a pointer and the real thing,
- and it might be narrow. */
krb5_error_code krb5_db_set_nonblocking
PROTOTYPE((krb5_context,
- int, /* krb5_boolean */
+ krb5_boolean,
krb5_boolean * ));
krb5_boolean krb5_db_set_lockmode
PROTOTYPE((krb5_context,
- int /* krb5_boolean */ ));
-
+ krb5_boolean));
krb5_error_code krb5_db_fetch_mkey
PROTOTYPE((krb5_context,
krb5_principal,
krb5_error_code (*) PROTOTYPE((krb5_pointer,
krb5_db_entry *)),
krb5_pointer ));
-
-/* need to play games here, since we take a pointer and the real thing,
- and it might be narrow. */
-#ifdef NARROW_PROTOTYPES
krb5_error_code krb5_dbm_db_set_nonblocking
PROTOTYPE((krb5_context,
krb5_boolean,
krb5_boolean krb5_dbm_db_set_lockmode
PROTOTYPE((krb5_context,
krb5_boolean ));
-#else
-krb5_error_code krb5_dbm_db_set_nonblocking
- PROTOTYPE((krb5_context,
- int, /* krb5_boolean */
- krb5_boolean * ));
-krb5_boolean krb5_dbm_db_set_lockmode
- PROTOTYPE((krb5_context,
- int /* krb5_boolean */ ));
-#endif /* NARROW_PROTOTYPES */
-
krb5_error_code krb5_dbm_db_open_database
PROTOTYPE((krb5_context));
krb5_error_code krb5_dbm_db_close_database