xref: /netbsd-src/crypto/external/bsd/openssh/dist/serverloop.h (revision 7a183406d02c2b879db17c2b7bd3ee5da7a852a1)
1 /*	$NetBSD: serverloop.h,v 1.7 2017/10/07 19:39:19 christos Exp $	*/
2 /* $OpenBSD: serverloop.h,v 1.8 2017/09/12 06:32:07 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 struct ssh;
26 
27 void    server_loop2(struct ssh *, Authctxt *);
28 
29 #endif
30