X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=regress%2Fharness.h;h=eae42068f4a477dfa97b1ef18f2762b732c04a8d;hb=1afaf3f33bc9d7ce704c91485c6e4efd83f4c1f3;hp=2708e66688efccd7bdace2fcc4bfe05f054eb10f;hpb=239d2e4dfb6fcfc26fe3f740efae8f6944b99799;p=adns.git diff --git a/regress/harness.h b/regress/harness.h index 2708e66..eae4206 100644 --- a/regress/harness.h +++ b/regress/harness.h @@ -10,9 +10,11 @@ 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 ); +void Qlisten( int fd , int backlog ); void Qclose( int fd ); void Qsendto( int fd , const void *msg , int msglen , const struct sockaddr *addr , int addrlen ); void Qrecvfrom( int fd , int buflen , int addrlen ); @@ -25,7 +27,7 @@ void Tfailed(const char *why); void Toutputerr(void); void Tnomem(void); void Tfsyscallr(const char *fmt, ...) PRINTFFORMAT(1,2); -void Tensureoutputfile(void); +void Tensurerecordfile(void); void Tmust(const char *call, const char *arg, int cond); void Tvbf(const char *fmt, ...) PRINTFFORMAT(1,2); void Tvbvf(const char *fmt, va_list al);