+Tue Mar 14 17:38:28 1995 Keith Vetter (keithv@fusion.com)
+
+ * k5-config.h: more PC changes, mostly dealing with chmod not
+ working as it should on the PC.
+ * func-proto.h, los-proto.h: moved prototypes for krb5_timeofday and
+ krb5_os_localaddr from los-proto to func-proto. They are needed by
+ the outside world, specifically kinit.c
+
Fri Mar 10 14:23:12 1995 Theodore Y. Ts'o <tytso@dcl>
* sysincl.h: Removed definition of FD_SETSIZE, FD_SET, FD_CLR,
PROTOTYPE((krb5_context,
passwd_phrase_element **));
+/* From krb5/os but needed but by the outside world */
+krb5_error_code INTERFACE krb5_timeofday
+ PROTOTYPE((krb5_context,
+ krb5_int32 * ));
+ /* get all the addresses of this host */
+krb5_error_code INTERFACE krb5_os_localaddr
+ PROTOTYPE((krb5_address ***));
+
/* Only put things which don't have pointers to the narrow types in this
section */
#define HAS_STRDUP
#define NO_USERID
#define NOFCHMOD
+#define NOCHMOD
#define HAS_ANSI_CONST /* For compiling w/o -Za */
#define HAS_ANSI_VOLATILE
#define _cdecl __cdecl
#define _huge __huge
+#ifdef NEED_WINDOWS
+#include <windows.h>
+#endif
+
#ifdef NEED_SOCKETS
#include <winsock.h>
#endif
* routines directly. Rather, they only export the _<function> version.
* The following defines works around this problem.
*/
+#include <sys\types.h>
+#include <sys\stat.h>
#include <fcntl.h>
#include <io.h>
#include <process.h>
#define close _close
#define read _read
#define fstat _fstat
-#define chmod _chmod
#define mktemp _mktemp
#define getpid _getpid
-
#endif
/* XXX these should be parameterized soon... */
PROTOTYPE((krb5_context,
FILE *,
char * ));
-krb5_error_code INTERFACE krb5_timeofday
- PROTOTYPE((krb5_context,
- krb5_int32 * ));
krb5_error_code INTERFACE krb5_us_timeofday
PROTOTYPE((krb5_context,
krb5_int32 *,
int ,
const char *,
int ));
- /* get all the addresses of this host */
-krb5_error_code INTERFACE krb5_os_localaddr
- PROTOTYPE((krb5_address ***));
krb5_error_code INTERFACE krb5_sendto_kdc
PROTOTYPE((krb5_context,
const krb5_data *,