serverloop.h revision 181097
1167612Ssimon/* $OpenBSD: serverloop.h,v 1.6 2006/03/25 22:22:43 djm Exp $ */ 2167612Ssimon 3167612Ssimon/* 4167612Ssimon * Author: Tatu Ylonen <ylo@cs.hut.fi> 5167612Ssimon * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 6167612Ssimon * All rights reserved 7167612Ssimon * 8167612Ssimon * As far as I am concerned, the code I have written for this software 9167612Ssimon * can be used freely for any purpose. Any derived versions of this 10167612Ssimon * software must be clearly marked as such, and if the derived work is 11167612Ssimon * incompatible with the protocol description in the RFC file, it must be 12167612Ssimon * called by a name other than "ssh" or "Secure Shell". 13280304Sjkim */ 14167612Ssimon/* 15167612Ssimon * Performs the interactive session. This handles data transmission between 16167612Ssimon * the client and the program. Note that the notion of stdin, stdout, and 17167612Ssimon * stderr in this function is sort of reversed: this function writes to stdin 18167612Ssimon * (of the child program), and reads from stdout and stderr (of the child 19167612Ssimon * program). 20167612Ssimon */ 21167612Ssimon#ifndef SERVERLOOP_H 22167612Ssimon#define SERVERLOOP_H 23167612Ssimon 24167612Ssimonvoid server_loop(pid_t, int, int, int); 25167612Ssimonvoid server_loop2(Authctxt *); 26167612Ssimon 27167612Ssimon#endif 28167612Ssimon