diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/krb5/ChangeLog | 9 | ||||
-rw-r--r-- | src/include/krb5/kdb.h | 8 | ||||
-rw-r--r-- | src/include/krb5/kdb_dbm.h | 6 |
3 files changed, 18 insertions, 5 deletions
diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index 6e1673140d..353189e441 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -1,3 +1,12 @@ +Mon Sep 15 15:01:49 1997 Ezra Peisach <epeisach@mit.edu> + + * kdb_dbm.h: Add const to argument of krb5_dbm_db_get_principal. + Add prototype for krb5_dbm_db_delete_principal. + + * kdb.h: Prototypes for krb5_db_get_principal, + krb5_db_delete_principal, krb5_dbe_update_mod_princ_data, + krb5_encode_princ_dbkey modified to use const krb5_principals. + Fri Jul 25 15:18:25 1997 Tom Yu <tlyu@mit.edu> * kdb_kt.h: Move support for "kdb" keytab here. diff --git a/src/include/krb5/kdb.h b/src/include/krb5/kdb.h index fbeda8052c..45a95c7acc 100644 --- a/src/include/krb5/kdb.h +++ b/src/include/krb5/kdb.h @@ -184,7 +184,7 @@ krb5_error_code krb5_db_rename char * )); krb5_error_code krb5_db_get_principal KRB5_PROTOTYPE((krb5_context, - krb5_principal , + krb5_const_principal , krb5_db_entry *, int *, krb5_boolean * )); @@ -198,7 +198,7 @@ krb5_error_code krb5_db_put_principal int * )); krb5_error_code krb5_db_delete_principal KRB5_PROTOTYPE((krb5_context, - krb5_principal, + krb5_const_principal, int * )); krb5_error_code krb5_db_iterate KRB5_PROTOTYPE((krb5_context, @@ -294,7 +294,7 @@ krb5_error_code krb5_dbe_update_mod_princ_data KRB5_PROTOTYPE((krb5_context, krb5_db_entry *, krb5_timestamp, - krb5_principal)); + krb5_const_principal)); krb5_error_code krb5_dbe_lookup_mod_princ_data KRB5_PROTOTYPE((krb5_context, krb5_db_entry *, @@ -303,7 +303,7 @@ krb5_error_code krb5_dbe_lookup_mod_princ_data int krb5_encode_princ_dbkey KRB5_PROTOTYPE((krb5_context, krb5_data *, - krb5_principal)); + krb5_const_principal)); void krb5_free_princ_dbkey KRB5_PROTOTYPE((krb5_context, krb5_data *)); diff --git a/src/include/krb5/kdb_dbm.h b/src/include/krb5/kdb_dbm.h index 970a934dc5..d1efffa574 100644 --- a/src/include/krb5/kdb_dbm.h +++ b/src/include/krb5/kdb_dbm.h @@ -82,7 +82,7 @@ krb5_error_code krb5_dbm_db_rename char * )); krb5_error_code krb5_dbm_db_get_principal KRB5_PROTOTYPE((krb5_context, - krb5_principal, + krb5_const_principal, krb5_db_entry *, int *, krb5_boolean * )); @@ -90,6 +90,10 @@ void krb5_dbm_db_free_principal KRB5_PROTOTYPE((krb5_context, krb5_db_entry *, int )); +krb5_error_code krb5_dbm_db_delete_principal + KRB5_PROTOTYPE((krb5_context, + krb5_const_principal, + int * )); krb5_error_code krb5_dbm_db_put_principal KRB5_PROTOTYPE((krb5_context, krb5_db_entry *, |