firedns_resolveip4list(3)

firedns_resolveip4list3

Resolve a list of a records of a hostname

Usage

#include <firedns.h>
-lfiredns

struct firedns_ip4list *firedns_resolveip4list(const char * const name)
struct firedns_ip4list *firedns_resolveip4list_r(const char * const name)

Overview

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.

Releases

Unchanged in 2 releases since Debian 3.1 (Sarge).

  1. 3.1–4.0

Author

Ian Gulliver <[email protected]>

From libfiredns-dev 0.9.12+dfsg-1 in Debian 4.0 (Etch). Parsed by carta from the page's man source.