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