diff options
author | Ezra Peisach <epeisach@mit.edu> | 1997-09-15 19:22:20 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 1997-09-15 19:22:20 +0000 |
commit | b811c0519d0d5869413e3f12ab1af08d8794e89d (patch) | |
tree | 7ed2aa65f9824d4c89c1d270ab3fbe63310e48c9 /src/include | |
parent | 0a8dba76b759e0631bc6203cce6386dba72e79ec (diff) | |
download | krb5-b811c0519d0d5869413e3f12ab1af08d8794e89d.tar.gz krb5-b811c0519d0d5869413e3f12ab1af08d8794e89d.tar.xz krb5-b811c0519d0d5869413e3f12ab1af08d8794e89d.zip |
* 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.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10190 dc483132-0cff-0310-8789-dd5450dbe970
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 *, |