Remove explicit includes of socket files.
* locate_kdc.c: Remove <sys/types.h> and "os-proto.h".
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5276
dc483132-0cff-0310-8789-
dd5450dbe970
Mon Mar 27 14:16:39 1995 John Gilmore (gnu at toad.com)
+ * full_ipadr.c, gen_rname.c, port2ip.c, read_msg.c, write_msg.c:
+ Remove explicit includes of socket files.
+ * locate_kdc.c: Remove <sys/types.h> and "os-proto.h".
+
* macsock.c (connect, send, recv): Add for K5 compatability.
(getmyipaddr): Add for use in K5.
#ifdef KRB5_USE_INET
#include "os-proto.h"
-#ifndef _WINSOCKAPI_
-#include <netinet/in.h>
-#endif
krb5_error_code INTERFACE
krb5_make_full_ipaddr(context, adr, port, outaddr)
#define NEED_SOCKETS
#include "k5-int.h"
#include "os-proto.h"
-#ifdef KRB5_USE_INET
-#include <sys/types.h>
-#ifndef _WINSOCKAPI_
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#endif
-#endif
krb5_error_code INTERFACE
krb5_gen_replay_name(context, address, uniq, string)
#define NEED_SOCKETS
#include "k5-int.h"
#include <stdio.h>
-#include <sys/types.h>
-#include "os-proto.h"
#ifdef KRB5_USE_INET
extern char *krb5_kdc_udp_portname;
#ifdef KRB5_USE_INET
#include "os-proto.h"
-#ifndef _WINSOCKAPI_
-#include <netinet/in.h>
-#endif
krb5_error_code INTERFACE
krb5_unpack_full_ipaddr(context, inaddr, adr, port)
#define NEED_SOCKETS
#include "k5-int.h"
#include <errno.h>
-#ifndef _WINSOCKAPI_
-#include <netinet/in.h>
-#endif
krb5_error_code INTERFACE
krb5_read_message(context, fdp, inbuf)
inbuf->data = buf;
return(0);
}
-
#define NEED_SOCKETS
#include "k5-int.h"
#include <errno.h>
-#ifndef _WINSOCKAPI_
-#include <netinet/in.h>
-#endif
krb5_error_code INTERFACE
krb5_write_message(context, fdp, outbuf)
}
return(0);
}
-
-
-
-