]> andersk Git - openssh.git/blobdiff - session.h
- (dtucker) [auth-pam.c scard-opensc.c] Tinderbox says auth-pam.c uses
[openssh.git] / session.h
index 3bce97891fdfc3dd46e202b93f7e7e0ca0c46fdd..e525066520d33099d1c9cb01689591fb2e3e08c9 100644 (file)
--- a/session.h
+++ b/session.h
@@ -1,4 +1,4 @@
-/*     $OpenBSD: session.h,v 1.18 2002/06/23 21:06:41 deraadt Exp $    */
+/*     $OpenBSD: session.h,v 1.22 2004/04/27 09:46:37 djm Exp $        */
 
 /*
  * Copyright (c) 2000, 2001 Markus Friedl.  All rights reserved.
@@ -53,19 +53,28 @@ struct Session {
        /* proto 2 */
        int     chanid;
        int     is_subsystem;
+       int     num_env;
+       struct {
+               char    *name;
+               char    *val;
+       }       *env;
 };
 
 void    do_authenticated(Authctxt *);
+void    do_cleanup(Authctxt *);
 
-int     session_open(Authctxt*, int);
+int     session_open(Authctxt *, int);
 int     session_input_channel_req(Channel *, const char *);
 void    session_close_by_pid(pid_t, int);
 void    session_close_by_channel(int, void *);
 void    session_destroy_all(void (*)(Session *));
-void    session_pty_cleanup2(void *);
+void    session_pty_cleanup2(Session *);
 
 Session        *session_new(void);
 Session        *session_by_tty(char *);
 void    session_close(Session *);
 void    do_setusercontext(struct passwd *);
+void    child_set_env(char ***envp, u_int *envsizep, const char *name,
+                      const char *value);
+
 #endif
This page took 0.036548 seconds and 4 git commands to generate.