xref: /openbsd-src/usr.bin/ssh/monitor_fdpass.h (revision b8533c9b014f9bfb9c1f12a43a601f7228118471)
1*b8533c9bSdjm /* $OpenBSD: monitor_fdpass.h,v 1.4 2007/09/04 03:21:03 djm Exp $ */
2097b4653Sstevesk 
3fda99fa0Sprovos /*
4fda99fa0Sprovos  * Copyright 2002 Niels Provos <provos@citi.umich.edu>
5fda99fa0Sprovos  * All rights reserved.
6fda99fa0Sprovos  *
7fda99fa0Sprovos  * Redistribution and use in source and binary forms, with or without
8fda99fa0Sprovos  * modification, are permitted provided that the following conditions
9fda99fa0Sprovos  * are met:
10fda99fa0Sprovos  * 1. Redistributions of source code must retain the above copyright
11fda99fa0Sprovos  *    notice, this list of conditions and the following disclaimer.
12fda99fa0Sprovos  * 2. Redistributions in binary form must reproduce the above copyright
13fda99fa0Sprovos  *    notice, this list of conditions and the following disclaimer in the
14fda99fa0Sprovos  *    documentation and/or other materials provided with the distribution.
15fda99fa0Sprovos  *
16fda99fa0Sprovos  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17fda99fa0Sprovos  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18fda99fa0Sprovos  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19fda99fa0Sprovos  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20fda99fa0Sprovos  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21fda99fa0Sprovos  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22fda99fa0Sprovos  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23fda99fa0Sprovos  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24fda99fa0Sprovos  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25fda99fa0Sprovos  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26fda99fa0Sprovos  */
27fda99fa0Sprovos 
28fda99fa0Sprovos #ifndef _MM_FDPASS_H_
29fda99fa0Sprovos #define _MM_FDPASS_H_
30fda99fa0Sprovos 
31*b8533c9bSdjm int mm_send_fd(int, int);
32fda99fa0Sprovos int mm_receive_fd(int);
33fda99fa0Sprovos 
34fda99fa0Sprovos #endif /* _MM_FDPASS_H_ */
35