1ce74bacaSMatthew Dillon /* $OpenBSD: serverloop.h,v 1.8 2017/09/12 06:32:07 djm Exp $ */ 2*18de8d7fSPeter Avalos 3*18de8d7fSPeter Avalos /* 4*18de8d7fSPeter Avalos * Author: Tatu Ylonen <ylo@cs.hut.fi> 5*18de8d7fSPeter Avalos * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 6*18de8d7fSPeter Avalos * All rights reserved 7*18de8d7fSPeter Avalos * 8*18de8d7fSPeter Avalos * As far as I am concerned, the code I have written for this software 9*18de8d7fSPeter Avalos * can be used freely for any purpose. Any derived versions of this 10*18de8d7fSPeter Avalos * software must be clearly marked as such, and if the derived work is 11*18de8d7fSPeter Avalos * incompatible with the protocol description in the RFC file, it must be 12*18de8d7fSPeter Avalos * called by a name other than "ssh" or "Secure Shell". 13*18de8d7fSPeter Avalos */ 14*18de8d7fSPeter Avalos /* 15*18de8d7fSPeter Avalos * Performs the interactive session. This handles data transmission between 16*18de8d7fSPeter Avalos * the client and the program. Note that the notion of stdin, stdout, and 17*18de8d7fSPeter Avalos * stderr in this function is sort of reversed: this function writes to stdin 18*18de8d7fSPeter Avalos * (of the child program), and reads from stdout and stderr (of the child 19*18de8d7fSPeter Avalos * program). 20*18de8d7fSPeter Avalos */ 21*18de8d7fSPeter Avalos #ifndef SERVERLOOP_H 22*18de8d7fSPeter Avalos #define SERVERLOOP_H 23*18de8d7fSPeter Avalos 24ce74bacaSMatthew Dillon struct ssh; 25ce74bacaSMatthew Dillon 26ce74bacaSMatthew Dillon void server_loop2(struct ssh *, Authctxt *); 27*18de8d7fSPeter Avalos 28*18de8d7fSPeter Avalos #endif 29