man firedns_resolveip4list (Fonctions bibliothèques) - Resolve a list of A records of a hostname

NAME

firedns_resolveip4list - Resolve a list of A records of a hostname

SYNOPSIS

#include <firedns.h>

-lfiredns

struct firedns_ip4list *firedns_resolveip4list(const char * const name)

struct firedns_ip4list *firedns_resolveip4list_r(const char * const name)

DESCRIPTION

firedns_resolveip4list() attempts to resolve a list of A records for the hostname name.

RETURN VALUE

Returns a pointer to an internal static struct firedns_ip4list *. This structure is the first of a linked list. It contains:

struct in_addr ip;

struct firedns_ip4list *next;

This function returns NULL on error.

AUTHOR

Ian Gulliver <ian@penguinhosting.net>

SEE ALSO