sshpty.h 1006 B

12345678910111213141516171819202122232425262728
  1. /* $OpenBSD: sshpty.h,v 1.4 2002/03/04 17:27:39 stevesk Exp $ */
  2. /*
  3. * Copied from openssh-3.5p1 source by Matt Johnston 2003
  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. * Functions for allocating a pseudo-terminal and making it the controlling
  9. * tty.
  10. *
  11. * As far as I am concerned, the code I have written for this software
  12. * can be used freely for any purpose. Any derived versions of this
  13. * software must be clearly marked as such, and if the derived work is
  14. * incompatible with the protocol description in the RFC file, it must be
  15. * called by a name other than "ssh" or "Secure Shell".
  16. */
  17. #ifndef SSHPTY_H
  18. #define SSHPTY_H
  19. int pty_allocate(int *, int *, char *, int);
  20. void pty_release(const char *);
  21. void pty_make_controlling_tty(int *, const char *);
  22. void pty_change_window_size(int, int, int, int, int);
  23. void pty_setowner(struct passwd *, const char *);
  24. #endif /* SSHPTY_H */