view modules/canon-host @ 15333:f03da5e72c61

timespec-add, timespec-sub: new modules * lib/timespec.h (timespec_add, timespec_sub): New decls. * lib/timespec-add.c, lib/timespec-sub.c: * modules/timespec-add, modules/timespec-sub: New files.
author Paul Eggert <eggert@cs.ucla.edu>
date Thu, 30 Jun 2011 15:17:31 -0700
parents 447e96feb793
children
line wrap: on
line source

Description:
Canonicalize a host name: return a name other hosts can understand, i.e.
usually the host name including FQDN.

Files:
lib/canon-host.c
lib/canon-host.h
m4/canon-host.m4

Depends-on:
getaddrinfo
strdup

configure.ac:
gl_PREREQ_CANON_HOST

Makefile.am:
lib_SOURCES += canon-host.c

Include:
"canon-host.h"

Link:
$(GETADDRINFO_LIB)

License:
LGPL

Maintainer:
Jim Meyering