From f58a97d3de5b43fd2cf8c0928939241b7b01c67d Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:55:29 +0000 Subject: Moved time handling, fixed makefiles Author: jgg Date: 1999-12-10 07:21:52 GMT Moved time handling, fixed makefiles --- methods/rfc2553emu.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'methods/rfc2553emu.h') diff --git a/methods/rfc2553emu.h b/methods/rfc2553emu.h index 5b9abbd84..86765b3cc 100644 --- a/methods/rfc2553emu.h +++ b/methods/rfc2553emu.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: rfc2553emu.h,v 1.2 1999/05/26 04:08:39 jgg Exp $ +// $Id: rfc2553emu.h,v 1.3 1999/12/10 07:21:52 jgg Exp $ /* ###################################################################### RFC 2553 Emulation - Provides emulation for RFC 2553 getaddrinfo, @@ -38,8 +38,6 @@ // getaddrinfo support? #ifndef HAVE_GETADDRINFO - #error Boink - // Renamed to advoid type clashing.. (for debugging) struct addrinfo_emu { @@ -50,9 +48,9 @@ size_t ai_addrlen; /* length of ai_addr */ char *ai_canonname; /* canonical name for nodename */ struct sockaddr *ai_addr; /* binary address */ - struct addrinfo *ai_next; /* next structure in linked list */ + struct addrinfo_emu *ai_next; /* next structure in linked list */ }; - #define addinfo addrinfo_emu + #define addrinfo addrinfo_emu int getaddrinfo(const char *nodename, const char *servname, const struct addrinfo *hints, @@ -73,6 +71,7 @@ #define EAI_SERVICE -7 #define EAI_ADDRFAMILY -8 #define EAI_SYSTEM -10 + #define EAI_MEMORY -11 #endif #endif -- cgit v1.2.3