xref: /openbsd-src/usr.bin/ssh/msg.h (revision 2aa7d2208a574010463f7eba5ed602c0b36ee122)
1*2aa7d220Sdjm /* $OpenBSD: msg.h,v 1.5 2015/01/15 09:40:00 djm Exp $ */
244c8244eSmarkus /*
344c8244eSmarkus  * Copyright (c) 2002 Markus Friedl.  All rights reserved.
444c8244eSmarkus  *
544c8244eSmarkus  * Redistribution and use in source and binary forms, with or without
644c8244eSmarkus  * modification, are permitted provided that the following conditions
744c8244eSmarkus  * are met:
844c8244eSmarkus  * 1. Redistributions of source code must retain the above copyright
944c8244eSmarkus  *    notice, this list of conditions and the following disclaimer.
1044c8244eSmarkus  * 2. Redistributions in binary form must reproduce the above copyright
1144c8244eSmarkus  *    notice, this list of conditions and the following disclaimer in the
1244c8244eSmarkus  *    documentation and/or other materials provided with the distribution.
1344c8244eSmarkus  *
1444c8244eSmarkus  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1544c8244eSmarkus  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1644c8244eSmarkus  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1744c8244eSmarkus  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
1844c8244eSmarkus  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
1944c8244eSmarkus  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2044c8244eSmarkus  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2144c8244eSmarkus  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2244c8244eSmarkus  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2344c8244eSmarkus  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2444c8244eSmarkus  */
2544c8244eSmarkus #ifndef SSH_MSG_H
2644c8244eSmarkus #define SSH_MSG_H
2744c8244eSmarkus 
28*2aa7d220Sdjm struct sshbuf;
29*2aa7d220Sdjm int	 ssh_msg_send(int, u_char, struct sshbuf *);
30*2aa7d220Sdjm int	 ssh_msg_recv(int, struct sshbuf *);
3144c8244eSmarkus 
3244c8244eSmarkus #endif
33