winsock.h: Rename to kwinsock.h. Recent versions of Microsoft
compilers include winsock.h, and the one we have collides with NT
errno definitions. Using the one provided by the compiler is
preferable. If you are using an old version of MSVC that doesn't
include winsock.h, then rename kwinsock.h to winsock.h
kdb_dbm.h: Don't include kdb_dbm.h for Win-32.
kdb.h: Don't include most of kdb.h for Win-32.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8306
dc483132-0cff-0310-8789-
dd5450dbe970
+Wed Jun 12 00:40:29 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
+
+ * adm_proto.h: Change usage of INTERFACE to use KRB5_CALLCONV and
+ KRB5_DLLIMP.
+
+Mon Jun 10 17:31:29 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
+
+ * winsock.h: Rename to kwinsock.h. Recent versions of Microsoft
+ compilers include winsock.h, and the one we have collides
+ with NT errno definitions. Using the one provided by the
+ compiler is preferable. If you are using an old version
+ of MSVC that doesn't include winsock.h, then rename
+ kwinsock.h to winsock.h
+
+ * kdb_dbm.h: Don't include kdb_dbm.h for Win-32.
+
+ * kdb.h: Don't include most of kdb.h for Win-32.
+
Mon May 20 17:57:15 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
* configure.in: Remove support for ODBM.
*/
/* adm_conn.c */
-krb5_error_code INTERFACE krb5_adm_connect
+KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_adm_connect
KRB5_PROTOTYPE((krb5_context,
char *,
char *,
krb5_ccache *,
char *,
krb5_timestamp));
-void INTERFACE krb5_adm_disconnect
+KRB5_DLLIMP void KRB5_CALLCONV krb5_adm_disconnect
KRB5_PROTOTYPE((krb5_context,
int *,
krb5_auth_context,
krb5_ccache));
-#if ! defined(_WINDOWS) && ! defined(_MACINTOSH)
+#if !defined(_MSDOS) && !defined(_WIN32) && !defined(_MACINTOSH)
/* adm_kw_dec.c */
krb5_error_code krb5_adm_proto_to_dbent
KRB5_PROTOTYPE((krb5_context,
char *,
krb5_int32 *,
krb5_data **));
-#endif /* _WINDOWS */
+#endif /* !(windows or macintosh) */
/* adm_kt_dec.c */
krb5_error_code krb5_adm_proto_to_ktent
krb5_data **));
/* adm_rw.c */
-void INTERFACE krb5_free_adm_data
+KRB5_DLLIMP void KRB5_CALLCONV krb5_free_adm_data
KRB5_PROTOTYPE((krb5_context,
krb5_int32,
krb5_data *));
-krb5_error_code INTERFACE krb5_send_adm_cmd
+KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_send_adm_cmd
KRB5_PROTOTYPE((krb5_context,
krb5_pointer,
krb5_auth_context,
krb5_auth_context,
krb5_int32 *,
krb5_data **));
-krb5_error_code INTERFACE krb5_read_adm_reply
+KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_read_adm_reply
KRB5_PROTOTYPE((krb5_context,
krb5_pointer,
krb5_auth_context,
#define KRB5_KDB_SUPPORT_DESMD5 0x00004000
#define KRB5_KDB_NEW_PRINC 0x00008000
-#if !defined(_MACINTOSH) && !defined(_MSDOS)
+#if !defined(_MACINTOSH) && !defined(_MSDOS) && !defined(_WIN32)
/*
* Note --- these structures cannot be modified without changing the
#else
typedef struct _kdb5_dispatch_table kdb5_dispatch_table;
#endif /* KDB5_DISPATCH */
-#endif /* !defined(_MACINTOSH) && !defined(_MSDOS) */
+#endif /* !defined(_MACINTOSH) && !defined(_MSDOS) &&!defined(_WIN32) */
#endif /* KRB5_KDB5__ */
#ifndef KRB5_KDB5_DBM__
#define KRB5_KDB5_DBM__
-#if !defined(_MACINTOSH) && !defined(_MSDOS)
+#if !defined(_MACINTOSH) && !defined(_MSDOS) && !defined(_WIN32)
/* exclusive or shared lock flags */
#define KRB5_DBM_SHARED 0
krb5_error_code krb5_dbm_db_close_database
KRB5_PROTOTYPE((krb5_context));
-#endif /* !defined(_MACINTOSH) && !defined(_MSDOS) */
+#endif /* !defined(_MACINTOSH) && !defined(_MSDOS) && !defined(WIN32) */
#endif /* KRB5_KDB5_DBM__ */