Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include expose res_check for the benefit of mDNS.



details:   https://anonhg.NetBSD.org/src/rev/7db68abe6945
branches:  trunk
changeset: 748464:7db68abe6945
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Oct 24 17:23:34 2009 +0000

description:
expose res_check for the benefit of mDNS.

diffstat:

 include/resolv.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 7481142f418b -r 7db68abe6945 include/resolv.h
--- a/include/resolv.h  Sat Oct 24 17:01:04 2009 +0000
+++ b/include/resolv.h  Sat Oct 24 17:23:34 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: resolv.h,v 1.37 2009/04/20 14:42:12 christos Exp $     */
+/*     $NetBSD: resolv.h,v 1.38 2009/10/24 17:23:34 christos Exp $     */
 
 /*
  * Portions Copyright (C) 2004, 2005, 2008, 2009  Internet Systems Consortium, Inc. ("ISC")
@@ -372,6 +372,7 @@
 #define p_sockun               __p_sockun
 #define putlong                        __putlong
 #define putshort               __putshort
+#define        res_check               __res_check
 #define res_dnok               __res_dnok
 #define res_findzonecut                __res_findzonecut
 #define res_findzonecut2       __res_findzonecut2
@@ -420,6 +421,8 @@
 int            res_hnok(const char *);
 int            res_ownok(const char *);
 int            res_mailok(const char *);
+struct timespec;
+int            res_check(res_state, struct timespec *);
 int            res_dnok(const char *);
 int            sym_ston(const struct res_sym *, const char *, int *);
 const char *   sym_ntos(const struct res_sym *, int, int *);



Home | Main Index | Thread Index | Old Index