X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Fstream.h;h=0eaa4b805d554306b42b6bd5dcde0c712a613f80;hb=94a044f90357edefa6f4ae9f0b1d5885b0e34aee;hp=eb73dd4715ed02d47cc64ae41f1155ca61aef5f8;hpb=12179dea039515c06168c0037d048566a3f623de;p=debian%2Famanda diff --git a/common-src/stream.h b/common-src/stream.h index eb73dd4..0eaa4b8 100644 --- a/common-src/stream.h +++ b/common-src/stream.h @@ -37,7 +37,8 @@ #define NETWORK_BLOCK_BYTES DISK_BLOCK_BYTES #define STREAM_BUFSIZE (NETWORK_BLOCK_BYTES * 2) -int stream_server(in_port_t *port, size_t sendsize, size_t recvsize, int priv); +int stream_server(int family, in_port_t *port, size_t sendsize, + size_t recvsize, int priv); int stream_accept(int sock, int timeout, size_t sendsize, size_t recvsize); int stream_client_privileged(const char *hostname, in_port_t port,