X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/239d2e4dfb6fcfc26fe3f740efae8f6944b99799..7f8bbe29436e29cc2683955d642f79a10d62f67d:/regress/harness.h 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);