Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

hes_resolve(3)

Name

hesiod − C Language Hesiod name server Interface Library

Syntax

#include <hesiod.h>

char **hes_resolve(name, HesiodNameType)
char *name, *HesiodNameType;

int hes_error( )

Description

The hes_resolve library is the primary interface to the Hesiod name server.  The library routine takes two arguments, a name to be resolved and a string, known as a HesiodNameType. It returns a NULL terminated vector of strings for each resource record containing Hesiod data, or NULL if there is any error.

In the event of an error, you can call the hes_error routine to determine the source of the error.

Files

/usr/include/hesiod.h
/etc/hesiod.conf

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026