+2005-04-13 Ken Raeburn <raeburn@mit.edu>
+
+ * compat_recv.c (NEED_SOCKETS): Don't define.
+
2005-04-05 Ken Raeburn <raeburn@mit.edu>
* krlogind.c (doit): Change 0 to (char*)NULL in execl* calls.
* to a V4 sendauth.
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#if !defined(_MACINTOSH)
#ifdef KRB5_KRB4_COMPAT
+2005-04-13 Ken Raeburn <raeburn@mit.edu>
+
+ * k5-int.h: Remove disabled code that used to be part of the
+ non-NEED_SOCKETS case.
+
2005-03-25 Ken Raeburn <raeburn@mit.edu>
* configure.in: Don't check for getpwnam_r and getpwuid_r with
#include "krb5.h"
#include "profile.h"
-#if 1 /* def NEED_SOCKETS */
#include "port-sockets.h"
#include "socket-utils.h"
-#else
-#ifndef SOCK_DGRAM
-struct sockaddr;
-#endif
-#endif
/* Get mutex support; currently used only for the replay cache. */
#include "k5-thread.h"
+2005-04-13 Ken Raeburn <raeburn@mit.edu>
+
+ * schpw.c (NEED_SOCKETS): Don't define.
+
2004-10-28 Tom Yu <tlyu@mit.edu>
* misc.c (check_min_life): Actually return a value on success.
-#define NEED_SOCKETS
#include "k5-int.h"
#include <kadm5/admin.h>
#include <syslog.h>
+2005-04-13 Ken Raeburn <raeburn@mit.edu>
+
+ * dispatch.c (NEED_SOCKETS): Don't define.
+ * do_as_req.c (NEED_SOCKETS): Don't define.
+ * do_tgs_req.c (NEED_SOCKETS): Don't define.
+ * network.c (NEED_SOCKETS): Don't define.
+
2004-09-23 Ken Raeburn <raeburn@mit.edu>
* network.c (closedown_network): Free each connection data
* Dispatch an incoming packet.
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#include <syslog.h>
#include "kdc_util.h"
* KDC Routines to deal with AS_REQ's
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#include "com_err.h"
* KDC Routines to deal with TGS_REQ's
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#include "com_err.h"
* Network code for Kerberos v5 KDC.
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#include "com_err.h"
#include "kdc_util.h"
+2005-04-13 Ken Raeburn <raeburn@mit.edu>
+
+ * win_glue.c (NEED_SOCKETS): Don't define.
+
2005-02-16 Jeffrey Altman <jaltman@mit.edu>
* gssapi32.def: export the missing DATA symbols
+2005-04-13 Ken Raeburn <raeburn@mit.edu>
+
+ * cc_file.c (NEED_SOCKETS, NEED_LOWLEVEL_IO): Don't define.
+
2005-01-13 Ken Raeburn <raeburn@mit.edu>
* cc_file.c (struct _krb5_fcc_data): Fields disk_file_lock,
*/
#include "k5-int.h"
-#define NEED_SOCKETS /* Only for ntohs, etc. */
-#define NEED_LOWLEVEL_IO
#include <stdio.h>
#include <errno.h>
+2005-04-13 Ken Raeburn <raeburn@mit.edu>
+
+ * kt_file.c (NEED_SOCKETS): Don't define.
+ * kt_srvtab.c (NEED_SOCKETS): Don't define.
+
2004-11-26 Ken Raeburn <raeburn@mit.edu>
* kt_file.c (krb5_ktfile_wresolve): Initialize mutex here too.
*
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#include <stdio.h>
* or implied warranty.
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#include <stdio.h>
+2005-04-13 Ken Raeburn <raeburn@mit.edu>
+
+ * fwd_tgt.c (NEED_SOCKETS): Don't define.
+ * recvauth.c (NEED_SOCKETS): Don't define.
+ * sendauth.c (NEED_SOCKETS): Don't define.
+
2005-03-22 Tom Yu <tlyu@mit.edu>
* x-deltat.y (wsnum): Add missing semicolon following YYERROR,
* or implied warranty.
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#ifdef HAVE_MEMORY_H
#include <memory.h>
* convenience sendauth/recvauth functions
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#include "auth_con.h"
#include "com_err.h"
* convenience sendauth/recvauth functions
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#include "com_err.h"
+2005-04-13 Ken Raeburn <raeburn@mit.edu>
+
+ * accessor.c (NEED_SOCKETS): Don't define.
+ * c_ustime.c (NEED_SOCKETS): Don't define.
+ * changepw.c (NEED_SOCKETS): Don't define.
+ * dnsglue.h (NEED_SOCKETS): Don't define.
+ * full_ipadr.c (NEED_SOCKETS): Don't define.
+ * gen_rname.c (NEED_SOCKETS): Don't define.
+ * genaddrs.c (NEED_SOCKETS): Don't define.
+ * hostaddr.c (NEED_SOCKETS): Don't define.
+ * hst_realm.c (NEED_SOCKETS): Don't define.
+ * krbfileio.c (NEED_LOWLEVEL_IO): Don't define.
+ * localaddr.c (NEED_SOCKETS): Don't define.
+ * locate_kdc.c (NEED_SOCKETS): Don't define.
+ * mk_faddr.c (NEED_SOCKETS): Don't define.
+ * net_read.c (NEED_SOCKETS, NEED_LOWLEVEL_IO): Don't define.
+ * net_write.c (NEED_SOCKETS, NEED_LOWLEVEL_IO): Don't define.
+ * port2ip.c (NEED_SOCKETS): Don't define.
+ * read_msg.c (NEED_SOCKETS): Don't define.
+ * send524.c (NEED_SOCKETS, NEED_LOWLEVEL_IO): Don't define.
+ * sendto_kdc.c (NEED_SOCKETS, NEED_LOWLEVEL_IO): Don't define.
+ * sn2princ.c (NEED_SOCKETS): Don't define.
+ * write_msg.c (NEED_SOCKETS): Don't define.
+
2005-03-25 Ken Raeburn <raeburn@mit.edu>
* kuserok.c (krb5_kuserok): Use k5_getpwnam_r.
*
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#include "os-proto.h"
* krb5_mstimeofday for BSD 4.3
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#include "k5-thread.h"
* Added by Paul W. Nelson, Thursby Software Systems, Inc.
*/
-#define NEED_SOCKETS
#include "fake-addrinfo.h"
#include "k5-int.h"
#include "os-proto.h"
#ifdef KRB5_DNS_LOOKUP
-#define NEED_SOCKETS
#include "k5-int.h"
#include "os-proto.h"
#ifdef WSHELPER
* Take an IP addr & port and generate a full IP address.
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#ifdef HAVE_NETINET_IN_H
* a replay cache tag string.
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#include "os-proto.h"
* Take an IP addr & port and generate a full IP address.
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#include "os-proto.h"
*
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#include "fake-addrinfo.h"
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#include "os-proto.h"
#include <ctype.h>
static char *VersionID = "@(#)krbfileio.c 2 - 08/22/91";
#endif
-#define NEED_LOWLEVEL_IO /* Need open(), etc. */
#include "k5-int.h"
#ifdef HAVE_SYS_FILE_H
* XNS support is untested, but "Should just work". (Hah!)
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#if !defined(_WIN32)
* get socket addresses for KDC.
*/
-#define NEED_SOCKETS
#include "fake-addrinfo.h"
#include "k5-int.h"
#include "os-proto.h"
* Take an IP addr & port and generate a full IP address.
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#ifdef HAVE_NETINET_IN_H
*
*/
-#define NEED_LOWLEVEL_IO
-#define NEED_SOCKETS
#include "k5-int.h"
/*
*
*/
-#define NEED_LOWLEVEL_IO
-#define NEED_SOCKETS
#include "k5-int.h"
/*
* Take an ADDRPORT address and split into IP addr & port.
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#ifdef HAVE_NETINET_IN_H
* Write a message to the network
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#include <errno.h>
*/
/* Grab socket stuff. This might want to go away later. */
-#define NEED_SOCKETS
-#define NEED_LOWLEVEL_IO
#include "fake-addrinfo.h" /* for custom addrinfo if needed */
#include "k5-int.h"
* as necessary.
*/
-#define NEED_SOCKETS
-#define NEED_LOWLEVEL_IO
#include "fake-addrinfo.h"
#include "k5-int.h"
* form.
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#include "fake-addrinfo.h"
#include <ctype.h>
* convenience sendauth/recvauth functions
*/
-#define NEED_SOCKETS
#include "k5-int.h"
#include <errno.h>
+2005-04-13 Ken Raeburn <raeburn@mit.edu>
+
+ * rc_io.c (NEED_SOCKETS, NEED_LOWLEVEL_IO): Don't define.
+
2005-01-15 Jeffrey Altman <jaltman@mit.edu>
* rc_dfl.c: Move the extraction of the struct dfl_data
#endif
#define KRB5_RC_VNO 0x0501 /* krb5, rcache v 1 */
-#define NEED_SOCKETS
-#define NEED_LOWLEVEL_IO
#include "krb5.h"
#include <stdio.h> /* for P_tmpdir */
#ifdef KRB4
#include <kerberosIV/krb.h>
#endif
-#define NEED_SOCKETS
#include "k5-int.h"
#ifndef NEED_WINSOCK
#define LINEMODE 1
#define NEED_DAEMON_PROTO 1
#define NEED_PARSETOS_PROTO 1
-#define NEED_SOCKETS
#define NO_UT_EXIT 1
#define NO_UT_PID 1
#define NO_UT_TYPE 1