~ubuntu-branches/ubuntu/trusty/curl/trusty-proposed

« back to all changes in this revision

Viewing changes to lib/if2ip.h

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2013-05-07 12:16:37 UTC
  • mfrom: (3.4.37 sid)
  • Revision ID: package-import@ubuntu.com-20130507121637-9t3i98qgsyr9dw5d
Tags: 7.30.0-1ubuntu1
* Resynchronize on Debian. Remaining changes:
  - Drop dependencies not in main:
    + Build-Depends: Drop stunnel4 and libssh2-1-dev.
    + Drop libssh2-1-dev from binary package Depends.
  - Add new libcurl3-udeb package.
  - Add new curl-udeb package.
* Add warning to debian/patches/series.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include "curl_setup.h"
25
25
 
26
26
bool Curl_if_is_interface_name(const char *interf);
27
 
char *Curl_if2ip(int af, const char *interf, char *buf, int buf_size);
 
27
 
 
28
typedef enum {
 
29
  IF2IP_NOT_FOUND = 0, /* Interface not found */
 
30
  IF2IP_AF_NOT_SUPPORTED = 1, /* Int. exists but has no address for this af */
 
31
  IF2IP_FOUND = 2 /* The address has been stored in "buf" */
 
32
} if2ip_result_t;
 
33
 
 
34
if2ip_result_t Curl_if2ip(int af, unsigned int remote_scope,
 
35
                          const char *interf, char *buf, int buf_size);
28
36
 
29
37
#ifdef __INTERIX
30
38