(C) 2002 Ian Gulliver
firedns_gettxtlist 3 2004-02-12
NAME
firedns_gettxtlist - Create a query to resolve a TXT record of a hostname
SYNOPSIS
#include <firedns.h>

-lfiredns

"int firedns_gettxtlist(const char * const " "name" ")"

DESCRIPTION
firedns_gettxtlist() creates and sends a request to resolve a TXT record for name . It returns a file descriptor that should be select (2)'ed upon (read set). When the file descriptor shows ready for reading, call firedns_getresult (3) to retrieve the results.
RETURN VALUE
Returns an integer file descriptor that can be used the same as any other file descriptor. Returns -1 on error.
AUTHOR
Ian Gulliver <ian@penguinhosting.net>
SEE ALSO
libfiredns (3), firedns_getresult (3), select (2)