~ubuntu-branches/ubuntu/maverick/libvirt/maverick

« back to all changes in this revision

Viewing changes to gnulib/lib/getaddrinfo.c

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2008-06-25 18:51:21 UTC
  • mto: (3.1.1 lenny) (1.2.1 upstream) (0.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 27.
  • Revision ID: james.westby@ubuntu.com-20080625185121-8dku38gpoluks1bx
Tags: upstream-0.4.4
ImportĀ upstreamĀ versionĀ 0.4.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Get address information (partial implementation).
2
 
   Copyright (C) 1997, 2001, 2002, 2004, 2005, 2006, 2007 Free Software
 
2
   Copyright (C) 1997, 2001, 2002, 2004, 2005, 2006, 2007, 2008 Free Software
3
3
   Foundation, Inc.
4
4
   Contributed by Simon Josefsson <simon@josefsson.org>.
5
5
 
25
25
# include <netinet/in.h>
26
26
#endif
27
27
 
 
28
/* Get inet_ntop.  */
 
29
#include <arpa/inet.h>
 
30
 
28
31
/* Get calloc. */
29
32
#include <stdlib.h>
30
33
 
40
43
#define _(String) gettext (String)
41
44
#define N_(String) String
42
45
 
43
 
#include "inet_ntop.h"
44
 
 
45
46
/* BeOS has AF_INET, but not PF_INET.  */
46
47
#ifndef PF_INET
47
48
# define PF_INET AF_INET