summaryrefslogtreecommitdiffstats
path: root/sshpty.h
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2016-11-29 04:54:50 +0100
committerDamien Miller <djm@mindrot.org>2016-11-29 06:51:27 +0100
commitb0899ee26a6630883c0f2350098b6a35e647f512 (patch)
tree9869e87c60d4458dfc1776542c5f5c7c5ad81464 /sshpty.h
parentupstream commit (diff)
downloadopenssh-b0899ee26a6630883c0f2350098b6a35e647f512.tar.xz
openssh-b0899ee26a6630883c0f2350098b6a35e647f512.zip
upstream commit
Factor out code to disconnect from controlling terminal into its own function. ok djm@ Upstream-ID: 39fd9e8ebd7222615a837312face5cc7ae962885
Diffstat (limited to 'sshpty.h')
-rw-r--r--sshpty.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sshpty.h b/sshpty.h
index cfa322480..9ec7e9a15 100644
--- a/sshpty.h
+++ b/sshpty.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshpty.h,v 1.12 2010/01/09 05:04:24 djm Exp $ */
+/* $OpenBSD: sshpty.h,v 1.13 2016/11/29 03:54:50 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -25,3 +25,4 @@ void pty_release(const char *);
void pty_make_controlling_tty(int *, const char *);
void pty_change_window_size(int, u_int, u_int, u_int, u_int);
void pty_setowner(struct passwd *, const char *);
+void disconnect_controlling_tty(void);