clientloop.h revision 98675
1238104Sdes/* $OpenBSD: clientloop.h,v 1.7 2002/04/22 21:04:52 markus Exp $ */ 2238104Sdes 3238104Sdes/* 4238104Sdes * Author: Tatu Ylonen <ylo@cs.hut.fi> 5269257Sdes * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 6269257Sdes * All rights reserved 7269257Sdes * 8269257Sdes * As far as I am concerned, the code I have written for this software 9269257Sdes * can be used freely for any purpose. Any derived versions of this 10269257Sdes * software must be clearly marked as such, and if the derived work is 11238104Sdes * incompatible with the protocol description in the RFC file, it must be 12238104Sdes * called by a name other than "ssh" or "Secure Shell". 13238104Sdes */ 14238104Sdes/* 15238104Sdes * Copyright (c) 2001 Markus Friedl. All rights reserved. 16238104Sdes * 17238104Sdes * Redistribution and use in source and binary forms, with or without 18238104Sdes * modification, are permitted provided that the following conditions 19238104Sdes * are met: 20238104Sdes * 1. Redistributions of source code must retain the above copyright 21238104Sdes * notice, this list of conditions and the following disclaimer. 22238104Sdes * 2. Redistributions in binary form must reproduce the above copyright 23238104Sdes * notice, this list of conditions and the following disclaimer in the 24238104Sdes * documentation and/or other materials provided with the distribution. 25269257Sdes * 26238104Sdes * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 27238104Sdes * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 28238104Sdes * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 29238104Sdes * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 30238104Sdes * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 31238104Sdes * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32238104Sdes * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33238104Sdes * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34238104Sdes * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 35238104Sdes * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36238104Sdes */ 37238104Sdes 38238104Sdes/* Client side main loop for the interactive session. */ 39238104Sdesint client_loop(int, int, int); 40238104Sdesvoid client_global_request_reply(int type, u_int32_t seq, void *ctxt); 41238104Sdes