summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorKeith Vetter <keithv@fusion.com>1995-09-24 23:55:45 +0000
committerKeith Vetter <keithv@fusion.com>1995-09-24 23:55:45 +0000
commite21894944c10a830b7455cbe5cadd9e9658ee09b (patch)
treed01f5c0809fbf52f84c2d24d1c53f36558b739f2 /src/include
parent1b842aaf6c792666dfdc97927ee12dca443552fc (diff)
downloadkrb5-e21894944c10a830b7455cbe5cadd9e9658ee09b.tar.gz
krb5-e21894944c10a830b7455cbe5cadd9e9658ee09b.tar.xz
krb5-e21894944c10a830b7455cbe5cadd9e9658ee09b.zip
Change password for the Mac
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6845 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ChangeLog5
-rw-r--r--src/include/k5-int.h1
-rw-r--r--src/include/krb5/ChangeLog4
-rw-r--r--src/include/krb5/macsock.h11
4 files changed, 16 insertions, 5 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog
index d9c009432..a0f409b95 100644
--- a/src/include/ChangeLog
+++ b/src/include/ChangeLog
@@ -3,6 +3,11 @@ Sat Sep 23 01:37:19 1995 Theodore Y. Ts'o <tytso@dcl>
* krb5.hin: Added preauth numbers for KRB5_CYBERSAFE_SECUREID and
KRB5_PADATA_AFS3_SALT.
+Fri Sep 22 12:00:00 1995 James Mattly <mattly@fusion.com>
+
+ * k5-int.h: removed define for OLD_CONFIG_FILES for
+ change password
+
Fri Sep 22 19:42:47 1995 Theodore Y. Ts'o <tytso@dcl>
* k5-int.h: Change length field in krb5_alt_method and
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index 69349630b..bc0be1942 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -218,7 +218,6 @@ int stat(const char *path, struct stat *buf);
int fstat(int fildes, struct stat *buf);
#define EFBIG 1000
-#define OLD_CONFIG_FILES
#define NOFCHMOD 1
#define NOCHMOD 1
diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog
index 527c4a84d..ca9b6fa7b 100644
--- a/src/include/krb5/ChangeLog
+++ b/src/include/krb5/ChangeLog
@@ -1,3 +1,7 @@
+Thu Sep 20 12:00:00 1995 James Mattly <mattly@fusion.com>
+
+ * macsock.h: Changes to support TCP streams and change password.
+
Thu Sep 8 12:00:00 1995 James Mattly <mattly@fusion.com>
* k5-config.h: defined MPW fake stat.h out for metrowerks compiler
diff --git a/src/include/krb5/macsock.h b/src/include/krb5/macsock.h
index fede4765e..1b8e30754 100644
--- a/src/include/krb5/macsock.h
+++ b/src/include/krb5/macsock.h
@@ -19,6 +19,9 @@
* for a Kerberos client's communication with its Key Distribution Centers.
*/
+#ifndef macsock_h
+#define macsock_h
+
/* Handle ANSI C versus traditional C */
#ifndef __STDC__
#define const
@@ -90,7 +93,9 @@ struct socket {
unsigned long fStream; /* MacTCP socket/stream */
struct sockaddr_in connect_addr; /* Address from connect call */
# define UDPbuflen 4096
- char fRecvBuf[UDPbuflen]; /* receive buffer area */
+# define TCPbuflen (8*1024)
+// char fRecvBuf[UDPbuflen]; /* receive buffer area */
+ char fRecvBuf[TCPbuflen]; /* receive buffer area */
};
typedef struct socket *SOCKET;
@@ -104,10 +109,7 @@ struct hostent {
int h_addrtype; /* address type */
int h_length; /* length of address */
char **h_addr_list; /* list of addresses from name server */
-#if 0
#define h_addr h_addr_list[0] /* address, for backward compatiblity */
-#endif
-#define h_addr h_addr_list /* address, for backward compatiblity */
};
/*
@@ -225,3 +227,4 @@ getsockname PROTOTYPE((SOCKET, struct sockaddr_in *, int *));
#define WSASetLastError(x) (errno = (x))
extern int errno;
+#endif /* macsock_h */