~ubuntu-branches/ubuntu/lucid/openssh/lucid

« back to all changes in this revision

Viewing changes to session.h

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2008-09-30 23:09:58 UTC
  • mfrom: (1.13.3 upstream) (29 hardy)
  • mto: This revision was merged to the branch mainline in revision 43.
  • Revision ID: james.westby@ubuntu.com-20080930230958-o6vsgn8c4mm959s0
Tags: 1:5.1p1-3
* Remove unnecessary ssh-vulnkey output in non-verbose mode when no
  compromised or unknown keys were found (closes: #496495).
* Configure with --disable-strip; dh_strip will deal with stripping
  binaries and will honour DEB_BUILD_OPTIONS (thanks, Bernhard R. Link;
  closes: #498681).
* Fix handling of zero-length server banners (thanks, Tomas Mraz; closes:
  #497026).

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
4
 * Copyright (c) 2000, 2001 Markus Friedl.  All rights reserved.
31
31
struct Session {
32
32
        int     used;
33
33
        int     self;
 
34
        int     next_unused;
34
35
        struct passwd *pw;
35
36
        Authctxt *authctxt;
36
37
        pid_t   pid;
65
66
void     do_cleanup(Authctxt *);
66
67
 
67
68
int      session_open(Authctxt *, int);
 
69
void     session_unused(int);
68
70
int      session_input_channel_req(Channel *, const char *);
69
71
void     session_close_by_pid(pid_t, int);
70
72
void     session_close_by_channel(int, void *);