xref: /dflybsd-src/crypto/openssh/msg.h (revision 18de8d7fff95ec279dc99590be94fa1e199430dc)
1*18de8d7fSPeter Avalos /* $OpenBSD: msg.h,v 1.4 2006/03/25 22:22:43 djm Exp $ */
2*18de8d7fSPeter Avalos /*
3*18de8d7fSPeter Avalos  * Copyright (c) 2002 Markus Friedl.  All rights reserved.
4*18de8d7fSPeter Avalos  *
5*18de8d7fSPeter Avalos  * Redistribution and use in source and binary forms, with or without
6*18de8d7fSPeter Avalos  * modification, are permitted provided that the following conditions
7*18de8d7fSPeter Avalos  * are met:
8*18de8d7fSPeter Avalos  * 1. Redistributions of source code must retain the above copyright
9*18de8d7fSPeter Avalos  *    notice, this list of conditions and the following disclaimer.
10*18de8d7fSPeter Avalos  * 2. Redistributions in binary form must reproduce the above copyright
11*18de8d7fSPeter Avalos  *    notice, this list of conditions and the following disclaimer in the
12*18de8d7fSPeter Avalos  *    documentation and/or other materials provided with the distribution.
13*18de8d7fSPeter Avalos  *
14*18de8d7fSPeter Avalos  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15*18de8d7fSPeter Avalos  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
16*18de8d7fSPeter Avalos  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
17*18de8d7fSPeter Avalos  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18*18de8d7fSPeter Avalos  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19*18de8d7fSPeter Avalos  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20*18de8d7fSPeter Avalos  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21*18de8d7fSPeter Avalos  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22*18de8d7fSPeter Avalos  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23*18de8d7fSPeter Avalos  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24*18de8d7fSPeter Avalos  */
25*18de8d7fSPeter Avalos #ifndef SSH_MSG_H
26*18de8d7fSPeter Avalos #define SSH_MSG_H
27*18de8d7fSPeter Avalos 
28*18de8d7fSPeter Avalos int	 ssh_msg_send(int, u_char, Buffer *);
29*18de8d7fSPeter Avalos int	 ssh_msg_recv(int, Buffer *);
30*18de8d7fSPeter Avalos 
31*18de8d7fSPeter Avalos #endif
32