+Sun Nov 26 19:23:35 1995 Tom Yu <tlyu@dragons-lair.MIT.EDU>
+
+ * k5-int.h: Ultrix is broken. Hacked around by redefining the
+ typedefs of preauth_obtain_data_proc and
+ preauth_process_proc to be pointers to the functions
+ rather than the functions themselves. Also made some
+ things KRB5_NPROTOTYPE.
+
Fri Nov 17 22:29:13 1995 Theodore Y. Ts'o <tytso@dcl>
* krb5.hin, k5-int.h: Moved prototype for encode_kdc_rep to
krb5_int32 pausec;
} krb5_pa_enc_ts;
-typedef krb5_error_code (krb5_preauth_obtain_proc)
- KRB5_PROTOTYPE((krb5_context,
+typedef krb5_error_code (*krb5_preauth_obtain_proc)
+ KRB5_NPROTOTYPE((krb5_context,
krb5_pa_data *,
krb5_etype_info,
krb5_keyblock *,
krb5_kdc_req *,
krb5_pa_data **));
-typedef krb5_error_code (krb5_preauth_process_proc)
- KRB5_PROTOTYPE((krb5_context,
+typedef krb5_error_code (*krb5_preauth_process_proc)
+ KRB5_NPROTOTYPE((krb5_context,
krb5_pa_data *,
krb5_kdc_req *,
krb5_kdc_rep *,
krb5_magic magic;
int type;
int flags;
- krb5_preauth_obtain_proc *obtain;
- krb5_preauth_process_proc *process;
+ krb5_preauth_obtain_proc obtain;
+ krb5_preauth_process_proc process;
} krb5_preauth_ops;
krb5_error_code krb5_obtain_padata
KRB5_PROTOTYPE((krb5_context,
krb5_pa_data **,
- krb5_error_code ( * )(krb5_context,
- krb5_const krb5_enctype,
- krb5_data *,
- krb5_const_pointer,
- krb5_keyblock **),
+ krb5_error_code ( * )KRB5_NPROTOTYPE((krb5_context,
+ krb5_const krb5_enctype,
+ krb5_data *,
+ krb5_const_pointer,
+ krb5_keyblock **)),
krb5_const_pointer,
krb5_creds *,
krb5_kdc_req *));
KRB5_PROTOTYPE((krb5_context,
krb5_kdc_req *,
krb5_kdc_rep *,
- krb5_error_code ( * )(krb5_context,
- krb5_const krb5_enctype,
- krb5_data *,
- krb5_const_pointer,
- krb5_keyblock **),
+ krb5_error_code ( * )KRB5_NPROTOTYPE((krb5_context,
+ krb5_const krb5_enctype,
+ krb5_data *,
+ krb5_const_pointer,
+ krb5_keyblock **)),
krb5_const_pointer,
- krb5_error_code ( * )(krb5_context,
- krb5_const krb5_keyblock *,
- krb5_const_pointer,
- krb5_kdc_rep * ),
+ krb5_error_code ( * )KRB5_NPROTOTYPE((krb5_context,
+ krb5_const krb5_keyblock *,
+ krb5_const_pointer,
+ krb5_kdc_rep * )),
krb5_keyblock **,
krb5_creds *,
krb5_int32 *));