summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/session.h
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2001-03-21 11:43:44 +0000
committermarkus <markus@openbsd.org>2001-03-21 11:43:44 +0000
commitfae83dc0b3c8329662c86d308cef88e00cb5340c (patch)
tree79c0ad686f9a276ea3949394a4dbaf14be167905 /usr.bin/ssh/session.h
parentoptimize a sanity check and put it behind ifdef DIAGNOSTIC. (diff)
downloadwireguard-openbsd-fae83dc0b3c8329662c86d308cef88e00cb5340c.tar.xz
wireguard-openbsd-fae83dc0b3c8329662c86d308cef88e00cb5340c.zip
merge common ssh v1/2 code
Diffstat (limited to 'usr.bin/ssh/session.h')
-rw-r--r--usr.bin/ssh/session.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/ssh/session.h b/usr.bin/ssh/session.h
index 133e9233f2a..842e9412a0d 100644
--- a/usr.bin/ssh/session.h
+++ b/usr.bin/ssh/session.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.h,v 1.5 2001/01/29 01:58:18 niklas Exp $ */
+/* $OpenBSD: session.h,v 1.6 2001/03/21 11:43:45 markus Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -26,11 +26,8 @@
#ifndef SESSION_H
#define SESSION_H
-/* SSH1 */
-void do_authenticated(struct passwd * pw);
+void do_authenticated(Authctxt *ac);
-/* SSH2 */
-void do_authenticated2(Authctxt *ac);
int session_open(int id);
void session_input_channel_req(int id, void *arg);
void session_close_by_pid(pid_t pid, int status);