diff options
Diffstat (limited to 'src/lib/krb5/keytab/kt_srvtab.c')
-rw-r--r-- | src/lib/krb5/keytab/kt_srvtab.c | 82 |
1 files changed, 31 insertions, 51 deletions
diff --git a/src/lib/krb5/keytab/kt_srvtab.c b/src/lib/krb5/keytab/kt_srvtab.c index a2e1304..01bd1ed 100644 --- a/src/lib/krb5/keytab/kt_srvtab.c +++ b/src/lib/krb5/keytab/kt_srvtab.c @@ -56,57 +56,37 @@ typedef struct _krb5_ktsrvtab_data { extern const struct _krb5_kt_ops krb5_kts_ops; -static krb5_error_code KRB5_CALLCONV krb5_ktsrvtab_resolve -(krb5_context, - const char *, - krb5_keytab *); - -static krb5_error_code KRB5_CALLCONV krb5_ktsrvtab_get_name -(krb5_context, - krb5_keytab, - char *, - unsigned int); - -static krb5_error_code KRB5_CALLCONV krb5_ktsrvtab_close -(krb5_context, - krb5_keytab); - -static krb5_error_code KRB5_CALLCONV krb5_ktsrvtab_get_entry -(krb5_context, - krb5_keytab, - krb5_const_principal, - krb5_kvno, - krb5_enctype, - krb5_keytab_entry *); - -static krb5_error_code KRB5_CALLCONV krb5_ktsrvtab_start_seq_get -(krb5_context, - krb5_keytab, - krb5_kt_cursor *); - -static krb5_error_code KRB5_CALLCONV krb5_ktsrvtab_get_next -(krb5_context, - krb5_keytab, - krb5_keytab_entry *, - krb5_kt_cursor *); - -static krb5_error_code KRB5_CALLCONV krb5_ktsrvtab_end_get -(krb5_context, - krb5_keytab, - krb5_kt_cursor *); - -static krb5_error_code krb5_ktsrvint_open -(krb5_context, - krb5_keytab); - -static krb5_error_code krb5_ktsrvint_close -(krb5_context, - krb5_keytab); - -static krb5_error_code krb5_ktsrvint_read_entry -(krb5_context, - krb5_keytab, - krb5_keytab_entry *); +static krb5_error_code KRB5_CALLCONV +krb5_ktsrvtab_resolve(krb5_context, const char *, krb5_keytab *); + +static krb5_error_code KRB5_CALLCONV +krb5_ktsrvtab_get_name(krb5_context, krb5_keytab, char *, unsigned int); + +static krb5_error_code KRB5_CALLCONV +krb5_ktsrvtab_close(krb5_context, krb5_keytab); + +static krb5_error_code KRB5_CALLCONV +krb5_ktsrvtab_get_entry(krb5_context, krb5_keytab, krb5_const_principal, + krb5_kvno, krb5_enctype, krb5_keytab_entry *); + +static krb5_error_code KRB5_CALLCONV +krb5_ktsrvtab_start_seq_get(krb5_context, krb5_keytab, krb5_kt_cursor *); + +static krb5_error_code KRB5_CALLCONV +krb5_ktsrvtab_get_next(krb5_context, krb5_keytab, krb5_keytab_entry *, + krb5_kt_cursor *); + +static krb5_error_code KRB5_CALLCONV +krb5_ktsrvtab_end_get(krb5_context, krb5_keytab, krb5_kt_cursor *); + +static krb5_error_code +krb5_ktsrvint_open(krb5_context, krb5_keytab); + +static krb5_error_code +krb5_ktsrvint_close(krb5_context, krb5_keytab); + +static krb5_error_code +krb5_ktsrvint_read_entry(krb5_context, krb5_keytab, krb5_keytab_entry *); /* * This is an implementation specific resolver. It returns a keytab id |