2004-05-05 Ken Raeburn <raeburn@mit.edu>
* foreachaddr.c: Implementation moved to lib/krb5/os/localaddr.c.
+ * foreachaddr.h: New file.
(krb5int_foreach_localaddr): Declare.
(foreach_localaddr): New macro.
+2004-05-05 Ken Raeburn <raeburn@mit.edu>
+
+ * network.c: Include foreachaddr.h, not foreachaddr.c.
+
2004-04-02 Ken Raeburn <raeburn@mit.edu>
* network.c (setup_a_tcp_listener): Try to turn the IPV6_V6ONLY
$(SRCTOP)/include/krb5/kdb.h kdc_util.h extern.h kdc5_err.h \
$(SRCTOP)/include/krb5/adm_proto.h $(SRCTOP)/include/syslog.h \
$(SRCTOP)/include/fake-addrinfo.h $(SRCTOP)/include/cm.h \
- $(SRCTOP)/include/foreachaddr.c
+ $(SRCTOP)/include/foreachaddr.h
$(OUTPRE)policy.$(OBJEXT): policy.c $(SRCTOP)/include/k5-int.h \
$(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
$(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
#define USE_TYPE SOCK_DGRAM
#define USE_PROTO 0
#define SOCKET_ERRNO errno
-#include "foreachaddr.c"
+#include "foreachaddr.h"
struct socksetup {
const char *prog;
2004-05-05 Ken Raeburn <raeburn@mit.edu>
* localaddr.c: Incorporate foreach_localaddr implementation.
- Export it as krb5int_foreach_localaddr.
+ Export it as krb5int_foreach_localaddr. Include foreachaddr.h,
+ not foreachaddr.c.
2004-03-22 Ken Raeburn <raeburn@mit.edu>
$(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-thread.h \
$(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
$(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
- $(SRCTOP)/include/krb5/kdb.h $(SRCTOP)/include/foreachaddr.c
+ $(SRCTOP)/include/krb5/kdb.h $(SRCTOP)/include/foreachaddr.h
locate_kdc.so locate_kdc.po $(OUTPRE)locate_kdc.$(OBJEXT): locate_kdc.c $(SRCTOP)/include/fake-addrinfo.h \
$(SRCTOP)/include/port-sockets.h $(BUILDTOP)/include/krb5/autoconf.h \
$(SRCTOP)/include/socket-utils.h $(SRCTOP)/include/k5-platform.h \
# include "fake-addrinfo.h"
#endif
-#include "foreachaddr.c"
+#include "foreachaddr.h"
/* Note: foreach_localaddr is exported from the library through
krb5int_accessor, for the KDC to use.