From d4f0ef749791490adbec3b74e460e5e1bffeae92 Mon Sep 17 00:00:00 2001 From: Keith Vetter Date: Wed, 29 Mar 1995 04:13:53 +0000 Subject: [PATCH] Added capability for windows version to read default values out of an ini file git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5305 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/ChangeLog | 7 +++++++ src/include/krb5/Makefile.in | 2 +- src/include/krb5/k5-config.h | 7 +++++++ src/include/krb5/los-proto.h | 3 +++ 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index 482fdd035..eadc4cd07 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -1,3 +1,10 @@ +Tue Mar 28 19:53:09 1995 Keith Vetter (keithv@fusion.com) + + * Makefile.in: changed to reflect deletion of stock/osconf.win. + * k5-config.h: added constants for reading default values + out of Windows ini files. + * los-proto.h: added new prototype for Windows ini stuff. + Tue Mar 28 18:02:41 1995 John Gilmore (gnu at toad.com) * Makefile.in (KRB5_HEADERS, install): Account for file renames. diff --git a/src/include/krb5/Makefile.in b/src/include/krb5/Makefile.in index 53e4f9c02..4c766fd8a 100644 --- a/src/include/krb5/Makefile.in +++ b/src/include/krb5/Makefile.in @@ -19,7 +19,7 @@ all:: all-$(WHAT) all-unix:: $(BUILT_HEADERS) all-mac:: $(BUILT_HEADERS) all-windows: - copy stock\osconf.win osconf.h + copy stock\osconf.h osconf.h echo /* not used in windows */ > autoconf.h includes:: autoconf.h diff --git a/src/include/krb5/k5-config.h b/src/include/krb5/k5-config.h index 278033f66..60e3687e6 100644 --- a/src/include/krb5/k5-config.h +++ b/src/include/krb5/k5-config.h @@ -30,6 +30,13 @@ * Machine-type definitions: PC Clone 386 running Microloss Windows */ +/* Kerberos Windows initialization file */ +#define KERBEROS_INI "kerberos.ini" +#define INI_FILES "Files" +#define INI_KRB_CONF "krb.conf" /* Location of krb.conf file */ +#define INI_KRB_REALMS "krb.realms" /* Location of krb.realms file */ +#define INI_KRB_CCACHE "krb5cc" /* Location of the ccache */ + #define KRB5_DBM_COMPAT__ /* Don't load dbm.h */ #define KRB5_KDB5__ /* Don't load kdb.h */ #define KRB5_KDB5_DBM__ /* Don't load kdb_dbm.h */ diff --git a/src/include/krb5/los-proto.h b/src/include/krb5/los-proto.h index 7b9993188..f66170e8f 100644 --- a/src/include/krb5/los-proto.h +++ b/src/include/krb5/los-proto.h @@ -138,4 +138,7 @@ krb5_error_code INTERFACE krb5_os_init_context void INTERFACE krb5_os_free_context PROTOTYPE((krb5_context)); +krb5_error_code krb5_find_config_files + PROTOTYPE(()); + #endif /* KRB5_LIBOS_PROTO__ */ -- 2.26.2