From fdb48b69f1d07a5bca212e4d25290c28435d1ed9 Mon Sep 17 00:00:00 2001 From: Keith Vetter Date: Wed, 22 Mar 1995 04:56:13 +0000 Subject: [PATCH] Part of low-level open file PC bug and moved some prototypes into world accessible files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5181 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/ChangeLog | 8 +++++++- src/include/krb5/func-proto.h | 5 +++++ src/include/krb5/k5-config.h | 5 +++++ src/include/krb5/los-proto.h | 3 --- 4 files changed, 17 insertions(+), 4 deletions(-) diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index b7476ce08..ed7c72264 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -1,3 +1,10 @@ +Tue Mar 21 18:42:23 1995 Keith Vetter (keithv@fusion.com) + + * k5-config.h: PC: NO_PASSWORD defined and files opened in binary mode. + * func-proto.h: added new prototype for notify programs when the + ccache changes, and moved krb5_get_default_realm from los-proto.h. + * los-proto.h: moved krb5_get_default_realm into func-proto.h. + Sun Mar 19 12:51:59 1995 John Gilmore (gnu at toad.com) * base-defs.h: Fix comment that referred to STDARG_PROTOTYPES. @@ -43,7 +50,6 @@ Tue Mar 14 17:38:28 1995 Keith Vetter (keithv@fusion.com) krb5_os_localaddr from los-proto to func-proto. They are needed by the outside world, specifically kinit.c ->>>>>>> /tmp/T4a00196 Fri Mar 10 14:23:12 1995 Theodore Y. Ts'o * sysincl.h: Removed definition of FD_SETSIZE, FD_SET, FD_CLR, diff --git a/src/include/krb5/func-proto.h b/src/include/krb5/func-proto.h index 0d756859d..f890cd403 100644 --- a/src/include/krb5/func-proto.h +++ b/src/include/krb5/func-proto.h @@ -306,6 +306,8 @@ char * INTERFACE krb5_cc_default_name krb5_error_code INTERFACE krb5_cc_default PROTOTYPE((krb5_context, krb5_ccache *)); +unsigned int INTERFACE krb5_get_notification_message + PROTOTYPE((void)); /* chk_trans.c */ krb5_error_code INTERFACE krb5_check_transited_list @@ -419,6 +421,9 @@ krb5_error_code INTERFACE krb5_timeofday /* get all the addresses of this host */ krb5_error_code INTERFACE krb5_os_localaddr PROTOTYPE((krb5_address ***)); +krb5_error_code INTERFACE krb5_get_default_realm + PROTOTYPE((krb5_context, + char ** )); /* Only put things which don't have pointers to the narrow types in this section */ diff --git a/src/include/krb5/k5-config.h b/src/include/krb5/k5-config.h index 0ba42c7a5..fdfd3121d 100644 --- a/src/include/krb5/k5-config.h +++ b/src/include/krb5/k5-config.h @@ -49,6 +49,8 @@ #define NO_USERID #define NOFCHMOD #define NOCHMOD +#define NO_PASSWORD +#define WM_KERBEROS5_CHANGED "Kerberos5 Changed" #define HAS_ANSI_CONST /* For compiling w/o -Za */ #define HAS_ANSI_VOLATILE @@ -241,6 +243,9 @@ typedef unsigned char u_char; #define INTERFACE_C #define FAR #define NEAR +#ifndef O_BINARY +#define O_BINARY 0 +#endif #ifndef HAS_LABS #define labs(x) abs(x) diff --git a/src/include/krb5/los-proto.h b/src/include/krb5/los-proto.h index cf8b5a762..7b9993188 100644 --- a/src/include/krb5/los-proto.h +++ b/src/include/krb5/los-proto.h @@ -81,9 +81,6 @@ krb5_error_code INTERFACE krb5_aname_to_localname krb5_const_principal, const int, char * )); -krb5_error_code INTERFACE krb5_get_default_realm - PROTOTYPE((krb5_context, - char ** )); krb5_error_code INTERFACE krb5_get_host_realm PROTOTYPE((krb5_context, const char *, -- 2.26.2