~serge-hallyn/ubuntu/raring/libvirt/libvirt-hugepages

« back to all changes in this revision

Viewing changes to gnulib/lib/inet_pton.c

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-05-13 15:44:12 UTC
  • mfrom: (1.2.13)
  • Revision ID: package-import@ubuntu.com-20120513154412-fgmn5sxqdzgnzlx3
Tags: 0.9.12-0ubuntu1
* New upstream version:
  * Synchronize with debian packaging:
    - debian/control: Update build depends.
    - debian/libvirt-bin.postrm: Cleanup /var/log/libvirt
      on purge.
    - Bump standards verson (no changes).
    - debian/patches/Don-t-fail-if-we-can-t-setup-avahi.patch: Added
  * Dropped patches:
    - debian/patches/Debianize-libvirt-guests.patch
    - debian/patches/rewrite-lxc-controller-eof-handling-yet-again
    - debian/patches/ubuntu/libnl13.patch
    - debian/patches/ubuntu/fix-lxc-startup-error.patch
    - debian/patches/ubuntu/fix-bridge-fd.patch
    - debian/patches/ubuntu/skip-labelling-network-disks.patch
    - debian/patches/ubuntu/xen-xend-shutdown-detection.patch
    - debian/patches/ubuntu/xen-config-no-vfb-for-hvm.patch
    - debian/patches/debian/Disable-daemon-start-test.patch
    - debian/patches/debian/Disable-gnulib-s-test-nonplocking-pipe.sh.patch
    - debian/patches/ubuntu/9006-default-config-test-case.patch
    - debian/patches/fix-block-migration.patch
    - debian/patches/ubuntu/9022-qemu-unescape-HMP-commands-before-converting-them-to.patch
    - debian/patches/ubuntu/9023-qemu-change-rbd-auth_supported-separation-character-.patch
    - debian/patches/ubuntu/9024-qemu-allow-snapshotting-of-sheepdog-and-rbd-disks.patch
    - debian/patches/9025-qemu-change-rbd-auth_supported-separation-character-.patch
    - debian/patches/ubuntu/arm-gcc-workaround.patch
  * Rediffed:
    - debian/patches/Allow-libvirt-group-to-access-the-socket.patch
    - debian/patches/Disable-failing-virnetsockettest.patch
    - debian/patches/dnsmasq-as-priv-user
    - debian/patches/9002-better_default_uri_virsh.patch
  * debian/control: Add libnl-route-3-dev ass a build depends.
  * debian/patches/libnl3-build-fix.patch: Fix build with libnl3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- buffer-read-only: t -*- vi: set ro: */
2
 
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
3
1
/* inet_pton.c -- convert IPv4 and IPv6 addresses from text to binary form
4
2
 
5
 
   Copyright (C) 2006, 2008-2011 Free Software Foundation, Inc.
 
3
   Copyright (C) 2006, 2008-2012 Free Software Foundation, Inc.
6
4
 
7
5
   This program is free software: you can redistribute it and/or modify
8
6
   it under the terms of the GNU Lesser General Public License as published by
75
73
 *      to network format (which is usually some kind of binary format).
76
74
 * return:
77
75
 *      1 if the address was valid for the specified address family
78
 
 *      0 if the address wasn't valid (`dst' is untouched in this case)
79
 
 *      -1 if some other error occurred (`dst' is untouched in this case, too)
 
76
 *      0 if the address wasn't valid ('dst' is untouched in this case)
 
77
 *      -1 if some other error occurred ('dst' is untouched in this case, too)
80
78
 * author:
81
79
 *      Paul Vixie, 1996.
82
80
 */
105
103
 *      like inet_aton() but without all the hexadecimal, octal (with the
106
104
 *      exception of 0) and shorthand.
107
105
 * return:
108
 
 *      1 if `src' is a valid dotted quad, else 0.
 
106
 *      1 if 'src' is a valid dotted quad, else 0.
109
107
 * notice:
110
 
 *      does not touch `dst' unless it's returning 1.
 
108
 *      does not touch 'dst' unless it's returning 1.
111
109
 * author:
112
110
 *      Paul Vixie, 1996.
113
111
 */
161
159
 * inet_pton6(src, dst)
162
160
 *      convert presentation level address to network order binary form.
163
161
 * return:
164
 
 *      1 if `src' is a valid [RFC1884 2.2] address, else 0.
 
162
 *      1 if 'src' is a valid [RFC1884 2.2] address, else 0.
165
163
 * notice:
166
 
 *      (1) does not touch `dst' unless it's returning 1.
 
164
 *      (1) does not touch 'dst' unless it's returning 1.
167
165
 *      (2) :: in a full address is silently ignored.
168
166
 * credit:
169
167
 *      inspired by Mark Andrews.