X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Fstream.h;h=ed8f0068ba10672a92fa9a6a556b3c3ea67fcb50;hb=HEAD;hp=eb73dd4715ed02d47cc64ae41f1155ca61aef5f8;hpb=cdbbeef9cde260e429854dd313bc0bf7560e1e24;p=debian%2Famanda diff --git a/common-src/stream.h b/common-src/stream.h index eb73dd4..ed8f006 100644 --- a/common-src/stream.h +++ b/common-src/stream.h @@ -1,6 +1,7 @@ /* * Amanda, The Advanced Maryland Automatic Network Disk Archiver * Copyright (c) 1991-1998 University of Maryland at College Park + * Copyright (c) 2007-2012 Zmanda, Inc. All Rights Reserved. * All Rights Reserved. * * Permission to use, copy, modify, distribute, and sell this software and its @@ -37,7 +38,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,