diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-07-04 04:07:12 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-07-04 04:07:12 +0000 |
commit | b4c774cf8878d9100fde92ff4e938671c3b0301b (patch) | |
tree | a2dff9a498a7c4cdeddace98c2c34c7a2e3689fb /sshpty.h | |
parent | 16ae3d0dba5f81e5602798b915105284033dea75 (diff) |
- itojun@cvs.openbsd.org 2001/06/26 06:33:07
[servconf.h serverloop.h session.h sftp-client.h sftp-common.h
sftp-glob.h sftp-int.h sshconnect.h ssh-dss.h sshlogin.h sshpty.h
ssh-rsa.h tildexpand.h uidswap.h uuencode.h xmalloc.h]
prototype pedant. not very creative...
- () -> (void)
- no variable names
Diffstat (limited to 'sshpty.h')
-rw-r--r-- | sshpty.h | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -12,7 +12,7 @@ | |||
12 | * called by a name other than "ssh" or "Secure Shell". | 12 | * called by a name other than "ssh" or "Secure Shell". |
13 | */ | 13 | */ |
14 | 14 | ||
15 | /* RCSID("$OpenBSD: sshpty.h,v 1.1 2001/03/04 01:46:30 djm Exp $"); */ | 15 | /* RCSID("$OpenBSD: sshpty.h,v 1.2 2001/06/26 06:33:04 itojun Exp $"); */ |
16 | 16 | ||
17 | #ifndef SSHPTY_H | 17 | #ifndef SSHPTY_H |
18 | #define SSHPTY_H | 18 | #define SSHPTY_H |
@@ -23,25 +23,23 @@ | |||
23 | * descriptors for the pty and tty sides and the name of the tty side are | 23 | * descriptors for the pty and tty sides and the name of the tty side are |
24 | * returned (the buffer must be able to hold at least 64 characters). | 24 | * returned (the buffer must be able to hold at least 64 characters). |
25 | */ | 25 | */ |
26 | int pty_allocate(int *ptyfd, int *ttyfd, char *ttyname, int ttynamelen); | 26 | int pty_allocate(int *, int *, char *, int); |
27 | 27 | ||
28 | /* | 28 | /* |
29 | * Releases the tty. Its ownership is returned to root, and permissions to | 29 | * Releases the tty. Its ownership is returned to root, and permissions to |
30 | * 0666. | 30 | * 0666. |
31 | */ | 31 | */ |
32 | void pty_release(const char *ttyname); | 32 | void pty_release(const char *); |
33 | 33 | ||
34 | /* | 34 | /* |
35 | * Makes the tty the processes controlling tty and sets it to sane modes. | 35 | * Makes the tty the processes controlling tty and sets it to sane modes. |
36 | * This may need to reopen the tty to get rid of possible eavesdroppers. | 36 | * This may need to reopen the tty to get rid of possible eavesdroppers. |
37 | */ | 37 | */ |
38 | void pty_make_controlling_tty(int *ttyfd, const char *ttyname); | 38 | void pty_make_controlling_tty(int *, const char *); |
39 | 39 | ||
40 | /* Changes the window size associated with the pty. */ | 40 | /* Changes the window size associated with the pty. */ |
41 | void | 41 | void pty_change_window_size(int, int, int, int, int); |
42 | pty_change_window_size(int ptyfd, int row, int col, | ||
43 | int xpixel, int ypixel); | ||
44 | 42 | ||
45 | void pty_setowner(struct passwd *pw, const char *ttyname); | 43 | void pty_setowner(struct passwd *, const char *); |
46 | 44 | ||
47 | #endif /* SSHPTY_H */ | 45 | #endif /* SSHPTY_H */ |