+2001-06-11 Ezra Peisach <epeisach@mit.edu>
+
+ * k5-util.h: Add prototypes for krb5_compat_recvauth_version() and
+ krb5_compat_recvauth().
+
+ * krb5.hin: Move krb5_read_message() and krb5_write_message()
+ prototypes here.
+ k5-int.h: From here.
+
2001-06-07 Ezra Peisach <epeisach@mit.edu>
* krb5.hin: Get rid of extraneous krb5_const before integer
krb5_error_code krb5_sync_disk_file (krb5_context, FILE *fp);
-krb5_error_code krb5_read_message (krb5_context, krb5_pointer, krb5_data *);
-krb5_error_code krb5_write_message (krb5_context, krb5_pointer, krb5_data *);
-
krb5_error_code krb5_os_init_context (krb5_context);
void krb5_os_free_context (krb5_context);
int krb5_seteuid(int);
int krb5_setedid(int);
int krb5_setegid(int);
+
+#if defined(KRB_DEFS) && defined(SOCK_DGRAM)
+krb5_error_code krb5_compat_recvauth(krb5_context, krb5_auth_context *,
+ krb5_pointer, char *, krb5_principal,
+ krb5_int32, krb5_keytab,
+ krb5_int32, char *, char *,
+ struct sockaddr_in *,
+ struct sockaddr_in *, char *,
+ krb5_ticket **, krb5_int32 *,
+ AUTH_DAT **, Key_schedule, char *);
+
+krb5_error_code
+krb5_compat_recvauth_version(krb5_context, krb5_auth_context *,
+ krb5_pointer, krb5_principal, krb5_int32,
+ krb5_keytab, krb5_int32, char *, char *,
+ struct sockaddr_in *, struct sockaddr_in *,
+ char *, krb5_ticket **, krb5_int32*,
+ AUTH_DAT **, Key_schedule, krb5_data *);
+
+#endif
* begin stuff from libos.h
*/
+krb5_error_code krb5_read_message (krb5_context, krb5_pointer, krb5_data *);
+krb5_error_code krb5_write_message (krb5_context, krb5_pointer, krb5_data *);
+
KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_read_password
(krb5_context,
const char FAR *,