1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 09:58:01 +00:00
putty-source/contrib/cygtermd/pty.h
Simon Tatham 62f630d4b3 cygtermd: remove all uses of 'FIXME' as program name.
There was a while when I hadn't decided what the name of the program
was going to be, and apparently once I did I never got round to
substituting it back in everywhere.
2018-10-06 11:57:59 +01:00

29 lines
623 B
C

/*
* pty.h - FIXME
*/
#ifndef CYGTERMD_PTY_H
#define CYGTERMD_PTY_H
#include "telnet.h" /* for struct shdata */
/*
* Called at program startup to actually allocate a pty, so that
* we can start passing in resize events as soon as they arrive.
*/
void pty_preinit(void);
/*
* Set the terminal size for the pty.
*/
void pty_resize(int w, int h);
/*
* Start a program in a subprocess running in the pty we allocated.
* Returns the fd of the pty master.
*/
int run_program_in_pty(const struct shell_data *shdata,
char *directory, char **program_args);
#endif /* CYGTERMD_PTY_H */