serverloop.h 1000 B

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