* kdb_dbm.c (krb5_dbm_db_get_principal, krb5_dbm_db_delete_principal):
Incoming principal is const.
* kdb_xdr.c (krb5_dbe_update_mod_princ_data, krb5_encode_princ_dbkey):
Incoming principal is const.
* kdb_db2.h (krb5_db2_db_get_principal): Change prototype to const
principal.
* kdb_db2.c (krb5_db2_db_get_principal, krb5_db2_db_delete_principal):
The search for principal is const.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10192
dc483132-0cff-0310-8789-
dd5450dbe970
+Mon Sep 15 15:05:30 1997 Ezra Peisach <epeisach@mit.edu>
+
+ * keytab.c: (krb5_ktkdb_get_entry): Incoming principal is const.
+
+ * kdb_dbm.c (krb5_dbm_db_get_principal, krb5_dbm_db_delete_principal):
+ Incoming principal is const.
+
+ * kdb_xdr.c (krb5_dbe_update_mod_princ_data, krb5_encode_princ_dbkey):
+ Incoming principal is const.
+
+ * kdb_db2.h (krb5_db2_db_get_principal): Change prototype to const
+ principal.
+
+ * kdb_db2.c (krb5_db2_db_get_principal, krb5_db2_db_delete_principal):
+ The search for principal is const.
+
Thu Jul 31 14:54:10 1997 Ezra Peisach <epeisach@mit.edu>
* kdb_db2.c (krb5_db2_db_delete_principal): Fix switch statement
krb5_error_code
krb5_db2_db_get_principal(context, searchfor, entries, nentries, more)
krb5_context context;
- krb5_principal searchfor;
+ krb5_const_principal searchfor;
krb5_db_entry *entries; /* filled in */
int *nentries; /* how much room/how many found */
krb5_boolean *more; /* are there more? */
krb5_error_code
krb5_db2_db_delete_principal(context, searchfor, nentries)
krb5_context context;
- krb5_principal searchfor;
+ krb5_const_principal searchfor;
int *nentries; /* how many found & deleted */
{
krb5_error_code retval;
char * ));
krb5_error_code krb5_db2_db_get_principal
KRB5_PROTOTYPE((krb5_context,
- krb5_principal,
+ krb5_const_principal,
krb5_db_entry *,
int *,
krb5_boolean * ));
krb5_error_code
krb5_dbm_db_get_principal(context, searchfor, entries, nentries, more)
krb5_context context;
-krb5_principal searchfor;
+krb5_const_principal searchfor;
krb5_db_entry *entries; /* filled in */
int *nentries; /* how much room/how many found */
krb5_boolean *more; /* are there more? */
krb5_error_code
krb5_dbm_db_delete_principal(context, searchfor, nentries)
krb5_context context;
- krb5_principal searchfor;
+ krb5_const_principal searchfor;
int * nentries; /* how many found & deleted */
{
krb5_error_code retval;
krb5_context context;
krb5_db_entry * entry;
krb5_timestamp mod_date;
- krb5_principal mod_princ;
+ krb5_const_principal mod_princ;
{
krb5_tl_data tl_data;
krb5_encode_princ_dbkey(context, key, principal)
krb5_context context;
krb5_data *key;
- krb5_principal principal;
+ krb5_const_principal principal;
{
char *princ_name;
krb5_error_code retval;
krb5_error_code krb5_ktkdb_close KRB5_PROTOTYPE((krb5_context, krb5_keytab));
-krb5_error_code krb5_ktkdb_get_entry KRB5_PROTOTYPE((krb5_context, krb5_keytab, krb5_principal,
+krb5_error_code krb5_ktkdb_get_entry KRB5_PROTOTYPE((krb5_context, krb5_keytab, krb5_const_principal,
krb5_kvno, krb5_enctype, krb5_keytab_entry *));
krb5_kt_ops krb5_kt_kdb_ops = {
krb5_ktkdb_get_entry(context, id, principal, kvno, enctype, entry)
krb5_context context;
krb5_keytab id;
- krb5_principal principal;
+ krb5_const_principal principal;
krb5_kvno kvno;
krb5_enctype enctype;
krb5_keytab_entry * entry;