30 typedef struct Session Session;
41 int ptyfd, ttyfd, ptymaster;
42 u_int row, col, xpixel, ypixel;
52 int single_connection;
66 void do_authenticated(Authctxt *);
67 void do_cleanup(Authctxt *);
69 int session_open(Authctxt *,
int);
70 void session_unused(
int);
71 int session_input_channel_req(Channel *,
const char *);
72 void session_close_by_pid(pid_t,
int);
73 void session_close_by_channel(
int,
void *);
74 void session_destroy_all(
void (*)(Session *));
75 void session_pty_cleanup2(Session *);
77 Session *session_new(
void);
78 Session *session_by_tty(
char *);
79 void session_close(Session *);
80 void do_setusercontext(
struct passwd *);
81 void child_set_env(
char ***envp, u_int *envsizep,
const char *name,
84 const char *session_get_remote_name_or_ip(
struct ssh *, u_int,
int);