diff options
author | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:42:53 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:42:53 +0000 |
commit | 87552344215a38d3a2b0d4d63dc151e05978bbe1 (patch) | |
tree | 9f4b96055e6ccaa915e8d59d9f2805e9e119371d /session.h | |
parent | a25ec0b132c44c9e341e08464ff830de06b81126 (diff) | |
parent | ef94e5613d37bcbf880f21ee6094e4b1c7683a4c (diff) |
import openssh-5.1p1-gsskex-cjwatson-20080722.patch
Diffstat (limited to 'session.h')
-rw-r--r-- | session.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: session.h,v 1.29 2006/08/03 03:34:42 deraadt Exp $ */ | 1 | /* $OpenBSD: session.h,v 1.30 2008/05/08 12:21:16 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. |
@@ -31,6 +31,7 @@ typedef struct Session Session; | |||
31 | struct Session { | 31 | struct Session { |
32 | int used; | 32 | int used; |
33 | int self; | 33 | int self; |
34 | int next_unused; | ||
34 | struct passwd *pw; | 35 | struct passwd *pw; |
35 | Authctxt *authctxt; | 36 | Authctxt *authctxt; |
36 | pid_t pid; | 37 | pid_t pid; |
@@ -65,6 +66,7 @@ void do_authenticated(Authctxt *); | |||
65 | void do_cleanup(Authctxt *); | 66 | void do_cleanup(Authctxt *); |
66 | 67 | ||
67 | int session_open(Authctxt *, int); | 68 | int session_open(Authctxt *, int); |
69 | void session_unused(int); | ||
68 | int session_input_channel_req(Channel *, const char *); | 70 | int session_input_channel_req(Channel *, const char *); |
69 | void session_close_by_pid(pid_t, int); | 71 | void session_close_by_pid(pid_t, int); |
70 | void session_close_by_channel(int, void *); | 72 | void session_close_by_channel(int, void *); |