/*
- * Copyright (c) 1999 by Internet Software Consortium, Inc.
+ * Copyright (c) 1999-2001 by Internet Software Consortium, Inc.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
*/
#ifndef lint
-static const char rcsid[] = "$Id: ns_sign.c,v 1.3 2001/01/16 22:33:10 mellon Exp $";
+static const char rcsid[] = "$Id: ns_sign.c,v 1.4 2001/02/15 14:10:58 mellon Exp $";
+#endif
+
+#if defined (TRACING)
+#define time(x) trace_mr_time (x)
+time_t trace_mr_time (time_t *);
#endif
/* Import. */
/*
- * Copyright (c) 1999 by Internet Software Consortium, Inc.
+ * Copyright (c) 1999-2001 by Internet Software Consortium, Inc.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
*/
#ifndef lint
-static const char rcsid[] = "$Id: ns_verify.c,v 1.3 2001/01/16 22:33:11 mellon Exp $";
+static const char rcsid[] = "$Id: ns_verify.c,v 1.4 2001/02/15 14:10:59 mellon Exp $";
+#endif
+
+#if defined (TRACING)
+#define time(x) trace_mr_time (x)
+time_t trace_mr_time (time_t *);
#endif
/* Import. */
*/
/*
- * Portions Copyright (c) 1996-1999 by Internet Software Consortium.
+ * Portions Copyright (c) 1996-2001 by Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
#if defined(LIBC_SCCS) && !defined(lint)
static const char sccsid[] = "@(#)res_send.c 8.1 (Berkeley) 6/4/93";
-static const char rcsid[] = "$Id: res_send.c,v 1.5 2001/01/16 22:33:16 mellon Exp $";
+static const char rcsid[] = "$Id: res_send.c,v 1.6 2001/02/15 14:11:11 mellon Exp $";
#endif /* LIBC_SCCS and not lint */
+/* If we're tracing, rename the I/O functions. */
+#if defined (TRACING)
+#define send trace_mr_send
+#define recvfrom trace_mr_recvfrom
+#define read trace_mr_read
+#define connect trace_mr_connect
+#define socket trace_mr_socket
+#define bind trace_mr_bind
+#define close trace_mr_close
+#endif
+
/*
* Send query to name server and wait for reply.
*/
statp->nsaddr_list[lastns] = ina;
}
+#if defined (TRACING)
+ trace_mr_statp_setup (statp);
+#endif
+
/*
* Send request, RETRY times, or until successful
*/