annotate lib/canon-host.h @ 16201:8250f2777afc

maint: update all copyright year number ranges Run "make update-copyright".
author Jim Meyering <meyering@redhat.com>
date Sun, 01 Jan 2012 10:04:58 +0100
parents 97fc9a21a8fb
children e542fd46ad6f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6224
85d0a6143cc4 * modules/canon-host: Add canon-host.h. Depend on getaddrinfo. Make
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
1 /* Host name canonicalization
85d0a6143cc4 * modules/canon-host: Add canon-host.h. Depend on getaddrinfo. Make
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
2
16201
8250f2777afc maint: update all copyright year number ranges
Jim Meyering <meyering@redhat.com>
parents: 14079
diff changeset
3 Copyright (C) 2005, 2009-2012 Free Software Foundation, Inc.
6224
85d0a6143cc4 * modules/canon-host: Add canon-host.h. Depend on getaddrinfo. Make
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
4
85d0a6143cc4 * modules/canon-host: Add canon-host.h. Depend on getaddrinfo. Make
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
5 Written by Derek Price <derek@ximbiot.com>
85d0a6143cc4 * modules/canon-host: Add canon-host.h. Depend on getaddrinfo. Make
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
6
9309
bbbbbf4cd1c5 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents: 6227
diff changeset
7 This program is free software: you can redistribute it and/or modify
bbbbbf4cd1c5 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents: 6227
diff changeset
8 it under the terms of the GNU General Public License as published by
bbbbbf4cd1c5 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents: 6227
diff changeset
9 the Free Software Foundation; either version 3, or (at your option)
bbbbbf4cd1c5 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents: 6227
diff changeset
10 any later version.
6224
85d0a6143cc4 * modules/canon-host: Add canon-host.h. Depend on getaddrinfo. Make
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
11
9309
bbbbbf4cd1c5 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents: 6227
diff changeset
12 This program is distributed in the hope that it will be useful,
bbbbbf4cd1c5 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents: 6227
diff changeset
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
bbbbbf4cd1c5 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents: 6227
diff changeset
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
bbbbbf4cd1c5 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents: 6227
diff changeset
15 GNU General Public License for more details.
6224
85d0a6143cc4 * modules/canon-host: Add canon-host.h. Depend on getaddrinfo. Make
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
16
85d0a6143cc4 * modules/canon-host: Add canon-host.h. Depend on getaddrinfo. Make
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
9309
bbbbbf4cd1c5 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents: 6227
diff changeset
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
6224
85d0a6143cc4 * modules/canon-host: Add canon-host.h. Depend on getaddrinfo. Make
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
19
85d0a6143cc4 * modules/canon-host: Add canon-host.h. Depend on getaddrinfo. Make
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
20 #ifndef CANON_HOST_H
85d0a6143cc4 * modules/canon-host: Add canon-host.h. Depend on getaddrinfo. Make
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
21 # define CANON_HOST_H 1
85d0a6143cc4 * modules/canon-host: Add canon-host.h. Depend on getaddrinfo. Make
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
22
85d0a6143cc4 * modules/canon-host: Add canon-host.h. Depend on getaddrinfo. Make
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
23 char *canon_host (char const *host);
85d0a6143cc4 * modules/canon-host: Add canon-host.h. Depend on getaddrinfo. Make
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
24 char *canon_host_r (char const *host, int *cherror);
85d0a6143cc4 * modules/canon-host: Add canon-host.h. Depend on getaddrinfo. Make
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
25
85d0a6143cc4 * modules/canon-host: Add canon-host.h. Depend on getaddrinfo. Make
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
26 const char *ch_strerror (void);
6227
69d01c286f89 (ch_strerror_r): Tweak cpp indentation and spacing.
Jim Meyering <jim@meyering.net>
parents: 6224
diff changeset
27 # define ch_strerror_r(cherror) gai_strerror (cherror);
6224
85d0a6143cc4 * modules/canon-host: Add canon-host.h. Depend on getaddrinfo. Make
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
28
85d0a6143cc4 * modules/canon-host: Add canon-host.h. Depend on getaddrinfo. Make
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
29 #endif /* !CANON_HOST_H */