summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-05-02 15:43:59 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-05-02 15:43:59 +0000
commit1148182fbe8e6e02989e818cf1422e4787e8afd8 (patch)
treecb1caa2edc548fa81ab83fc3e4d3efe967f6289d /src/include
parent5067126cc4090742640ed26fdc63112d050112df (diff)
macro-ize keytab and cc functions as appropriate
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@670 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/func-proto.h65
1 files changed, 7 insertions, 58 deletions
diff --git a/src/include/krb5/func-proto.h b/src/include/krb5/func-proto.h
index a2c5a410cb..8d41151032 100644
--- a/src/include/krb5/func-proto.h
+++ b/src/include/krb5/func-proto.h
@@ -204,45 +204,26 @@ krb5_error_code krb5_kt_register
krb5_error_code krb5_kt_resolve
PROTOTYPE((char *,
krb5_keytab * ));
-krb5_error_code krb5_kt_get_name
- PROTOTYPE((krb5_keytab,
- char *,
- int ));
krb5_error_code krb5_kt_default_name
PROTOTYPE((char *,
int ));
krb5_error_code krb5_kt_default
PROTOTYPE((krb5_keytab * ));
-krb5_error_code krb5_kt_close
- PROTOTYPE((krb5_keytab ));
-krb5_error_code krb5_kt_get_entry
- PROTOTYPE((krb5_keytab,
- krb5_principal,
- krb5_kvno,
- krb5_keytab_entry * ));
krb5_error_code krb5_kt_free_entry
PROTOTYPE((krb5_keytab_entry * ));
-krb5_error_code krb5_kt_start_seq_get
- PROTOTYPE((krb5_keytab,
- krb5_kt_cursor * ));
-krb5_error_code krb5_kt_next_entry
- PROTOTYPE((krb5_keytab,
- krb5_keytab_entry *,
- krb5_kt_cursor ));
-krb5_error_code krb5_kt_end_seq_get
- PROTOTYPE((krb5_keytab,
- krb5_kt_cursor ));
+krb5_error_code krb5_kt_read_service_key
+ PROTOTYPE((krb5_pointer,
+ krb5_principal,
+ krb5_kvno,
+ krb5_keyblock **));
+/* remove and add are functions, so that they can return NOWRITE
+ if not a writable keytab */
krb5_error_code krb5_kt_remove_entry
PROTOTYPE((krb5_keytab,
krb5_keytab_entry * ));
krb5_error_code krb5_kt_add_entry
PROTOTYPE((krb5_keytab,
krb5_keytab_entry * ));
-krb5_error_code krb5_kt_read_service_key
- PROTOTYPE((krb5_pointer,
- krb5_principal,
- krb5_kvno,
- krb5_keyblock **));
/* librc.spec */
krb5_error_code krb5_rc_initialize
@@ -280,38 +261,6 @@ krb5_error_code krb5_rc_default
/* libcc.spec */
-krb5_error_code krb5_cc_initialize
- PROTOTYPE((krb5_ccache,
- krb5_principal ));
-krb5_error_code krb5_cc_destroy
- PROTOTYPE((krb5_ccache ));
-krb5_error_code krb5_cc_close
- PROTOTYPE((krb5_ccache ));
-krb5_error_code krb5_cc_store_cred
- PROTOTYPE((krb5_ccache,
- krb5_creds * ));
-krb5_error_code krb5_cc_retrieve_cred
- PROTOTYPE((krb5_ccache,
- krb5_flags,
- krb5_creds *,
- krb5_creds * ));
-krb5_error_code krb5_cc_get_principal
- PROTOTYPE((krb5_ccache,
- krb5_principal * ));
-krb5_error_code krb5_cc_start_seq_get
- PROTOTYPE((krb5_ccache,
- krb5_cc_cursor * ));
-krb5_error_code krb5_cc_next_cred
- PROTOTYPE((krb5_ccache,
- krb5_creds *,
- krb5_cc_cursor * ));
-krb5_error_code krb5_cc_end_seq_get
- PROTOTYPE((krb5_ccache,
- krb5_cc_cursor * ));
-krb5_error_code krb5_cc_remove_cred
- PROTOTYPE((krb5_ccache,
- krb5_flags,
- krb5_creds * ));
krb5_error_code krb5_cc_resolve
PROTOTYPE((char *,
krb5_ccache * ));