chiark / gitweb /
timeval handing better, change filenames
[adns.git] / regress / harness.h.m4
index 7b5758e6d904be045dc9761cb0f9af41e974c3cf..8f95b3376732fb5bfa6cf09a5815f12e9b10f369 100644 (file)
@@ -25,6 +25,7 @@ m4_include(hmacros.i4)
 
 #include <sys/time.h>
 #include <sys/socket.h>
+#include <sys/uio.h>
 #include <unistd.h>
 
 #include "internal.h"
@@ -35,6 +36,9 @@ hm_create_proto_h
 m4_define(`hm_syscall', `int H$1(hm_args_massage($3,void));')
 m4_include(`hsyscalls.i4')
 
+int Hwritev(int fd, const struct iovec *vector, size_t count);
+int Hgettimeofday(struct timeval *tv, struct timezone *tz);
+
 /* There is a Q function (Q for Question) for each such syscall;
  * it constructs a string representing the call, and calls Q_str
  * on it, or constructs it in vb and calls Q_vb;
@@ -66,8 +70,7 @@ void Tvba(const char *str);
 /* Shared globals */
 
 extern vbuf vb;
-extern FILE *Toutputfile;
-
+extern struct timeval currenttime;
 extern const struct Terrno { const char *n; int v; } Terrnos[];
   
 #endif