1*bc5531deSDag-Erling Smørgrav /* $OpenBSD: msg.h,v 1.5 2015/01/15 09:40:00 djm Exp $ */ 2545d5ecaSDag-Erling Smørgrav /* 3545d5ecaSDag-Erling Smørgrav * Copyright (c) 2002 Markus Friedl. All rights reserved. 4545d5ecaSDag-Erling Smørgrav * 5545d5ecaSDag-Erling Smørgrav * Redistribution and use in source and binary forms, with or without 6545d5ecaSDag-Erling Smørgrav * modification, are permitted provided that the following conditions 7545d5ecaSDag-Erling Smørgrav * are met: 8545d5ecaSDag-Erling Smørgrav * 1. Redistributions of source code must retain the above copyright 9545d5ecaSDag-Erling Smørgrav * notice, this list of conditions and the following disclaimer. 10545d5ecaSDag-Erling Smørgrav * 2. Redistributions in binary form must reproduce the above copyright 11545d5ecaSDag-Erling Smørgrav * notice, this list of conditions and the following disclaimer in the 12545d5ecaSDag-Erling Smørgrav * documentation and/or other materials provided with the distribution. 13545d5ecaSDag-Erling Smørgrav * 14545d5ecaSDag-Erling Smørgrav * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 15545d5ecaSDag-Erling Smørgrav * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 16545d5ecaSDag-Erling Smørgrav * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 17545d5ecaSDag-Erling Smørgrav * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18545d5ecaSDag-Erling Smørgrav * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19545d5ecaSDag-Erling Smørgrav * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20545d5ecaSDag-Erling Smørgrav * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21545d5ecaSDag-Erling Smørgrav * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22545d5ecaSDag-Erling Smørgrav * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23545d5ecaSDag-Erling Smørgrav * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24545d5ecaSDag-Erling Smørgrav */ 25545d5ecaSDag-Erling Smørgrav #ifndef SSH_MSG_H 26545d5ecaSDag-Erling Smørgrav #define SSH_MSG_H 27545d5ecaSDag-Erling Smørgrav 28*bc5531deSDag-Erling Smørgrav struct sshbuf; 29*bc5531deSDag-Erling Smørgrav int ssh_msg_send(int, u_char, struct sshbuf *); 30*bc5531deSDag-Erling Smørgrav int ssh_msg_recv(int, struct sshbuf *); 31545d5ecaSDag-Erling Smørgrav 32545d5ecaSDag-Erling Smørgrav #endif 33