diff options
author | anay <none@none> | 2005-07-26 11:14:16 -0700 |
---|---|---|
committer | anay <none@none> | 2005-07-26 11:14:16 -0700 |
commit | 6a1c6faa6f0834799d7de3e77fac2ec32d923f9a (patch) | |
tree | b9ffae122f0cfeba99c72deca499b83cd22e9af4 /usr/src/lib/libresolv/res_query.c | |
parent | 78eb75caca75144af27b7903ffed3fb549faab2f (diff) | |
download | illumos-gate-6a1c6faa6f0834799d7de3e77fac2ec32d923f9a.tar.gz |
6274683 gcc and libresolv[2] don't get along
Diffstat (limited to 'usr/src/lib/libresolv/res_query.c')
-rw-r--r-- | usr/src/lib/libresolv/res_query.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/src/lib/libresolv/res_query.c b/usr/src/lib/libresolv/res_query.c index 320776bf18..70d9d8be47 100644 --- a/usr/src/lib/libresolv/res_query.c +++ b/usr/src/lib/libresolv/res_query.c @@ -20,7 +20,7 @@ * CDDL HEADER END */ /* - * Copyright 1997 Sun Microsystems, Inc. All rights reserved. + * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -70,6 +70,7 @@ int h_errno; * Error number is left in h_errno. * Caller must parse answer and determine whether it answers the question. */ +int res_query(name, class, type, answer, anslen) char *name; /* domain name */ int class, type; /* class and type of query */ @@ -146,6 +147,7 @@ res_query(name, class, type, answer, anslen) * Only useful for queries in the same name hierarchy as the local host * (not, for example, for host address-to-name lookups in domain in-addr.arpa). */ +int res_search(name, class, type, answer, anslen) char *name; /* domain name */ int class, type; /* class and type of query */ @@ -222,6 +224,7 @@ res_search(name, class, type, answer, anslen) * Perform a call on res_query on the concatenation of name and domain, * removing a trailing dot from name if domain is NULL. */ +int res_querydomain(name, domain, class, type, answer, anslen) char *name, *domain; int class, type; /* class and type of query */ |