HESIOD(3)

NAME
hesiod - C Language Hesiod name server Interface Library

SYNOPSIS
#include <hesiod.h>

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

int hes_error()

cc file.c -lhesiod

DESCRIPTION
hes_resolve is the primary interface to the Hesiod name server. It takes two arguments, a name to be resolved and a string, known as a HesiodNameType. It returns a NULL terminated vector of strings (a la argv), one for each resource record containing Hesiod data, or NULL if there is any error. The function hes_error may be called to determine the source of the error. It will return one of the HES_ER_* codes defined in hesiod.h. If the environment variable HES_DOMAIN is set, this domain will override what is in /etc/athena/hesiod.conf.

FILES
/usr/athena/include/hesiod.h, /etc/athena/hesiod.conf

SEE ALSO
`Hesiod - Project Athena Technical Plan -- Name Service', named(8)

AUTHOR
Steve Dyer, IBM/Project Athena
Copyright 1987, 1988 by the Massachusetts Institute of Technology.

BUGS