From b11599502dbf383abe1dc74b8b188eb7f945097d Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 11 Jun 2001 20:01:20 +0000 Subject: [PATCH] * 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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13332 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/ChangeLog | 9 +++++++++ src/include/k5-int.h | 3 --- src/include/k5-util.h | 20 ++++++++++++++++++++ src/include/krb5.hin | 3 +++ 4 files changed, 32 insertions(+), 3 deletions(-) diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 28de33bfa..cb73197a1 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,12 @@ +2001-06-11 Ezra Peisach + + * 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 * krb5.hin: Get rid of extraneous krb5_const before integer diff --git a/src/include/k5-int.h b/src/include/k5-int.h index 3bed0a258..0a6c9a8fb 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -538,9 +538,6 @@ krb5_error_code krb5_create_secure_file (krb5_context, const char * pathname); 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); diff --git a/src/include/k5-util.h b/src/include/k5-util.h index af0f167e3..e4d49d96e 100644 --- a/src/include/k5-util.h +++ b/src/include/k5-util.h @@ -47,3 +47,23 @@ 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 diff --git a/src/include/krb5.hin b/src/include/krb5.hin index 9545a9e9c..b0fbab465 100644 --- a/src/include/krb5.hin +++ b/src/include/krb5.hin @@ -2079,6 +2079,9 @@ KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_auth_con_getremotesubkey * 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 *, -- 2.26.2