diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:55:29 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:55:29 +0000 |
commit | f58a97d3de5b43fd2cf8c0928939241b7b01c67d (patch) | |
tree | 4891542955626efe83bf431c67414e4901d33e74 /methods/rfc2553emu.h | |
parent | 70fbac25ae36f62b99a9df1a4a7742a47a8d91ec (diff) |
Moved time handling, fixed makefiles
Author: jgg
Date: 1999-12-10 07:21:52 GMT
Moved time handling, fixed makefiles
Diffstat (limited to 'methods/rfc2553emu.h')
-rw-r--r-- | methods/rfc2553emu.h | 9 |
1 files changed, 4 insertions, 5 deletions
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 |