firedns.h: always make ipv6 members available in state struct
[rofl0r-firedns.git] / man / firedns_resolvecname.3
blob5578d214cb13e3571fa0339ad032db5af75742b2
1 .\" (C) 2002 Ian Gulliver
2 .TH firedns_resolvecname 3 2004-02-12
3 .SH NAME
4 firedns_resolvecname \- Resolve the canonical name of a host
5 .SH SYNOPSIS
6 .B #include <firedns.h>
7 .br
8 .B -lfiredns
9 .LP
10 .BI "char *firedns_resolvecname(const char * " "name" ")"
11 .br
12 .BI "char *firedns_resolvecname_r(const char * " "name" ")"
13 .SH DESCRIPTION
14 firedns_resolvecname() attempts to resolve the canonical name (CNAME) of
15 .IR name .
16 .SH RETURN VALUE
17 Returns a pointer to an internal static
18 .I char *
19 that contains a CNAME
20 .IR ip ,
22 .I NULL
23 if there is no such record (indicating that you already have the canonical
24 name of the host).
25 .SH AUTHOR
26 Ian Gulliver <ian@penguinhosting.net>
27 .SH SEE ALSO
28 .BR libfiredns (3)