summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ssh/include/proxy-io.h
blob: e240118c8d16ff1cfee8e6609b569099670a2deb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
 * Use is subject to license terms.
 */

#ifndef	_PROXY_IO_H
#define	_PROXY_IO_H

#pragma ident	"%Z%%M%	%I%	%E% SMI"

/*
 * Read/write loop for ssh proxies.
 */

#ifdef __cplusplus
extern "C" {
#endif

#define	BUFFER_SIZ	8192

int proxy_read_write_loop(int readfd, int writefd);

#ifdef __cplusplus
}
#endif

#endif /* _PROXY_IO_H */