chiark / gitweb /
regression tests: Properly handle adnshost et al exit status
[adns] / regress / harness.h
index 3bcccf9b30af366b3507524ae1015bf375e8d708..85a936b684dd22ad163677631471d8294f4cbbc6 100644 (file)
@@ -10,7 +10,7 @@ void Qselect( int max , const fd_set *rfds , const fd_set *wfds , const fd_set *
 #ifdef HAVE_POLL
 void Qpoll(    const struct pollfd *fds , int nfds , int timeout       );
 #endif
-void Qsocket(   int type       );
+void Qsocket(  int domain , int type   );
 void Qfcntl(   int fd , int cmd , long arg     );
 void Qconnect( int fd , const struct sockaddr *addr , int addrlen      );
 void Qbind(    int fd , const struct sockaddr *addr , int addrlen      );
@@ -41,4 +41,6 @@ void Tvba(const char *str);
 extern vbuf vb;
 extern struct timeval currenttime;
 extern const struct Terrno { const char *n; int v; } Terrnos[];
+/* Special cases */
+void Texit(int rv) NONRETURNING;
 #endif