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) | |
download | openssh-git-b4c774cf8878d9100fde92ff4e938671c3b0301b.tar.gz |
- 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 @@ * called by a name other than "ssh" or "Secure Shell". */ -/* RCSID("$OpenBSD: sshpty.h,v 1.1 2001/03/04 01:46:30 djm Exp $"); */ +/* RCSID("$OpenBSD: sshpty.h,v 1.2 2001/06/26 06:33:04 itojun Exp $"); */ #ifndef SSHPTY_H #define SSHPTY_H @@ -23,25 +23,23 @@ * descriptors for the pty and tty sides and the name of the tty side are * returned (the buffer must be able to hold at least 64 characters). */ -int pty_allocate(int *ptyfd, int *ttyfd, char *ttyname, int ttynamelen); +int pty_allocate(int *, int *, char *, int); /* * Releases the tty. Its ownership is returned to root, and permissions to * 0666. */ -void pty_release(const char *ttyname); +void pty_release(const char *); /* * Makes the tty the processes controlling tty and sets it to sane modes. * This may need to reopen the tty to get rid of possible eavesdroppers. */ -void pty_make_controlling_tty(int *ttyfd, const char *ttyname); +void pty_make_controlling_tty(int *, const char *); /* Changes the window size associated with the pty. */ -void -pty_change_window_size(int ptyfd, int row, int col, - int xpixel, int ypixel); +void pty_change_window_size(int, int, int, int, int); -void pty_setowner(struct passwd *pw, const char *ttyname); +void pty_setowner(struct passwd *, const char *); #endif /* SSHPTY_H */ |