1267843Sdelphij/* $OpenBSD: msg.h,v 1.5 2015/01/15 09:40:00 djm Exp $ */ 2267843Sdelphij/* 3267843Sdelphij * Copyright (c) 2002 Markus Friedl. All rights reserved. 4267843Sdelphij * 5267843Sdelphij * Redistribution and use in source and binary forms, with or without 6267843Sdelphij * modification, are permitted provided that the following conditions 7267843Sdelphij * are met: 8267843Sdelphij * 1. Redistributions of source code must retain the above copyright 9267843Sdelphij * notice, this list of conditions and the following disclaimer. 10267843Sdelphij * 2. Redistributions in binary form must reproduce the above copyright 11267843Sdelphij * notice, this list of conditions and the following disclaimer in the 12267843Sdelphij * documentation and/or other materials provided with the distribution. 13267843Sdelphij * 14267843Sdelphij * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 15267843Sdelphij * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 16267843Sdelphij * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 17267843Sdelphij * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18267843Sdelphij * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19267843Sdelphij * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20267843Sdelphij * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21267843Sdelphij * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22267843Sdelphij * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23267843Sdelphij * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24267843Sdelphij */ 25267843Sdelphij#ifndef SSH_MSG_H 26267843Sdelphij#define SSH_MSG_H 27267843Sdelphij 28267843Sdelphijstruct sshbuf; 29267843Sdelphijint ssh_msg_send(int, u_char, struct sshbuf *); 30267843Sdelphijint ssh_msg_recv(int, struct sshbuf *); 31267843Sdelphij 32267843Sdelphij#endif 33