~ubuntu-branches/ubuntu/vivid/curl/vivid-security

« back to all changes in this revision

Viewing changes to lib/if2ip.h

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Schuldei
  • Date: 2009-05-24 21:12:19 UTC
  • mfrom: (1.1.12 upstream)
  • mto: (3.3.1 squeeze) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 39.
  • Revision ID: james.westby@ubuntu.com-20090524211219-7jgcwuhl04ixuqsm
Tags: upstream-7.19.5
ImportĀ upstreamĀ versionĀ 7.19.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21
21
 * KIND, either express or implied.
22
22
 *
23
 
 * $Id: if2ip.h,v 1.20 2006-03-04 22:39:32 bagder Exp $
 
23
 * $Id: if2ip.h,v 1.22 2008-11-17 19:08:35 yangtse Exp $
24
24
 ***************************************************************************/
25
25
#include "setup.h"
26
26
 
27
 
extern char *Curl_if2ip(const char *interf, char *buf, int buf_size);
 
27
extern char *Curl_if2ip(int af, const char *interf, char *buf, int buf_size);
28
28
 
29
29
#ifdef __INTERIX
30
30
#include <sys/socket.h>
50
50
 
51
51
/* This define was added by Daniel to avoid an extra #ifdef INTERIX in the
52
52
   C code. */
53
 
#define ifr_dstaddr ifr_addr
54
53
 
55
54
#define ifr_name ifr_ifrn.ifrn_name /* interface name */
56
55
#define ifr_addr ifr_ifru.ifru_addr /* address */