1*4f52dfbbSDag-Erling Smørgrav /* $OpenBSD: serverloop.h,v 1.8 2017/09/12 06:32:07 djm Exp $ */ 21e8db6e2SBrian Feldman 31e8db6e2SBrian Feldman /* 41e8db6e2SBrian Feldman * Author: Tatu Ylonen <ylo@cs.hut.fi> 51e8db6e2SBrian Feldman * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 61e8db6e2SBrian Feldman * All rights reserved 71e8db6e2SBrian Feldman * 81e8db6e2SBrian Feldman * As far as I am concerned, the code I have written for this software 91e8db6e2SBrian Feldman * can be used freely for any purpose. Any derived versions of this 101e8db6e2SBrian Feldman * software must be clearly marked as such, and if the derived work is 111e8db6e2SBrian Feldman * incompatible with the protocol description in the RFC file, it must be 121e8db6e2SBrian Feldman * called by a name other than "ssh" or "Secure Shell". 131e8db6e2SBrian Feldman */ 141e8db6e2SBrian Feldman /* 151e8db6e2SBrian Feldman * Performs the interactive session. This handles data transmission between 161e8db6e2SBrian Feldman * the client and the program. Note that the notion of stdin, stdout, and 171e8db6e2SBrian Feldman * stderr in this function is sort of reversed: this function writes to stdin 181e8db6e2SBrian Feldman * (of the child program), and reads from stdout and stderr (of the child 191e8db6e2SBrian Feldman * program). 201e8db6e2SBrian Feldman */ 21ae1f160dSDag-Erling Smørgrav #ifndef SERVERLOOP_H 22ae1f160dSDag-Erling Smørgrav #define SERVERLOOP_H 23ae1f160dSDag-Erling Smørgrav 24*4f52dfbbSDag-Erling Smørgrav struct ssh; 25*4f52dfbbSDag-Erling Smørgrav 26*4f52dfbbSDag-Erling Smørgrav void server_loop2(struct ssh *, Authctxt *); 27ae1f160dSDag-Erling Smørgrav 28ae1f160dSDag-Erling Smørgrav #endif 29