Annotation of src/usr.bin/ssh/serverloop.h, Revision 1.1
1.1 ! markus 1: /*
! 2: * Author: Tatu Ylonen <ylo@cs.hut.fi>
! 3: * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
! 4: * All rights reserved
! 5: *
! 6: * As far as I am concerned, the code I have written for this software
! 7: * can be used freely for any purpose. Any derived versions of this
! 8: * software must be clearly marked as such, and if the derived work is
! 9: * incompatible with the protocol description in the RFC file, it must be
! 10: * called by a name other than "ssh" or "Secure Shell".
! 11: */
! 12: /*
! 13: * Performs the interactive session. This handles data transmission between
! 14: * the client and the program. Note that the notion of stdin, stdout, and
! 15: * stderr in this function is sort of reversed: this function writes to stdin
! 16: * (of the child program), and reads from stdout and stderr (of the child
! 17: * program).
! 18: */
! 19: void server_loop(pid_t pid, int fdin, int fdout, int fderr);
! 20: void server_loop2(void);