xref: /titanic_41/usr/src/cmd/ssh/include/serverloop.h (revision 911106dfb16696472af8c1b7b4c554a829354fa8)
1 /*	$OpenBSD: serverloop.h,v 1.5 2001/06/27 02:12:53 markus Exp $	*/
2 
3 #ifndef	_SERVERLOOP_H
4 #define	_SERVERLOOP_H
5 
6 #pragma ident	"%Z%%M%	%I%	%E% SMI"
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 
13 /*
14  * Author: Tatu Ylonen <ylo@cs.hut.fi>
15  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
16  *                    All rights reserved
17  *
18  * As far as I am concerned, the code I have written for this software
19  * can be used freely for any purpose.  Any derived versions of this
20  * software must be clearly marked as such, and if the derived work is
21  * incompatible with the protocol description in the RFC file, it must be
22  * called by a name other than "ssh" or "Secure Shell".
23  */
24 /*
25  * Performs the interactive session.  This handles data transmission between
26  * the client and the program.  Note that the notion of stdin, stdout, and
27  * stderr in this function is sort of reversed: this function writes to stdin
28  * (of the child program), and reads from stdout and stderr (of the child
29  * program).
30  */
31 
32 void    server_loop(pid_t, int, int, int);
33 void    server_loop2(Authctxt *);
34 
35 #ifdef __cplusplus
36 }
37 #endif
38 
39 #endif /* _SERVERLOOP_H */
40