X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=regress%2Fharness.h;h=3bcccf9b30af366b3507524ae1015bf375e8d708;hb=84ada014b1bf2cf7e5a38320be7371dbbf91bb23;hp=2708e66688efccd7bdace2fcc4bfe05f054eb10f;hpb=239d2e4dfb6fcfc26fe3f740efae8f6944b99799;p=adns.git diff --git a/regress/harness.h b/regress/harness.h index 2708e66..3bcccf9 100644 --- a/regress/harness.h +++ b/regress/harness.h @@ -13,6 +13,8 @@ void Qpoll( const struct pollfd *fds , int nfds , int timeout ); void Qsocket( 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);