.\" (C) 2002 Ian Gulliver .TH firedns_gettxtlist 3 2004-02-12 .SH NAME firedns_gettxtlist \- Create a query to resolve a TXT record of a hostname .SH SYNOPSIS .B #include .br .B -lfiredns .LP .BI "int firedns_gettxtlist(const char * const " "name" ")" .SH DESCRIPTION firedns_gettxtlist() creates and sends a request to resolve a TXT record for .IR name . It returns a file descriptor that should be .IR select (2)'ed upon (read set). When the file descriptor shows ready for reading, call .IR firedns_getresult (3) to retrieve the results. .SH RETURN VALUE Returns an integer file descriptor that can be used the same as any other file descriptor. Returns .I -1 on error. .SH AUTHOR Ian Gulliver .SH SEE ALSO .BR libfiredns (3), .BR firedns_getresult (3), .BR select (2)