GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
firedns_getresult(3) FreeBSD Library Functions Manual firedns_getresult(3)

firedns_getresult - Retrieve a result from a previous FireDNS query

#include <firedns.h>
-lfiredns

char *firedns_getresult(const int fd)
char *firedns_getresult_r(const int fd)
char *firedns_getresult_s(const int fd, char *result)

firedns_getresult() returns the result for the request identified by the file descriptor fd. It returns NULL if there has been no response to the request or the response indicates failure.

Returns NULL on failure, or a pointer to the result. The return value is meant to be cast depending upon the initial request made.

Casts:
firedns_getip4() - (struct in_addr *)
firedns_getip4list() - (struct firedns_ip4list *) /* linked list */
firedns_getip6() - (struct in6_addr *)
firedns_getip6list() - (struct firedns_ip6list *) /* linked list */
firedns_gettxt() - (char *)
firedns_gettxtlist() - (struct firedns_txtlist *) /* linked list */
firedns_getmx() - (char *)
firedns_getmxlist() - (struct firedns_mxlist *) /* linked list */
firedns_getname4() - (char *)
firedns_getname6() - (char *)
firedns_getcname() - (char *)

Ian Gulliver <ian@penguinhosting.net>

libfiredns(3), firedns_getip4(3), firedns_getip6(3), firedns_gettxt(3), firedns_getmx(3), firedns_getmxlist(3), firedns_getname4(3), firedns_getname6(3)
2004-02-12

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.