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