11638Srgrimes/* $OpenBSD: serverloop.h,v 1.6 2006/03/25 22:22:43 djm Exp $ */ 250476Speter 31638Srgrimes/* 4241823Smarcel * Author: Tatu Ylonen <ylo@cs.hut.fi> 5241823Smarcel * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 641345Sjkoshy * All rights reserved 7187916Sgabor * 8187916Sgabor * As far as I am concerned, the code I have written for this software 9152266Sharti * can be used freely for any purpose. Any derived versions of this 10124747Sru * software must be clearly marked as such, and if the derived work is 11124747Sru * incompatible with the protocol description in the RFC file, it must be 12209249Sgabor * called by a name other than "ssh" or "Secure Shell". 13124747Sru */ 14124747Sru/* 15124747Sru * Performs the interactive session. This handles data transmission between 16124747Sru * the client and the program. Note that the notion of stdin, stdout, and 17284009Scperciva * stderr in this function is sort of reversed: this function writes to stdin 18124747Sru * (of the child program), and reads from stdout and stderr (of the child 19124747Sru * program). 20124747Sru */ 21124747Sru#ifndef SERVERLOOP_H 22124747Sru#define SERVERLOOP_H 23124747Sru 24124747Sruvoid server_loop(pid_t, int, int, int); 25124747Sruvoid server_loop2(Authctxt *); 26124747Sru 27124747Sru#endif 28124747Sru