30 typedef struct Session Session;
42 int ptyfd, ttyfd, ptymaster;
43 u_int row, col, xpixel, ypixel;
53 int single_connection;
66 #ifdef SSH_AUDIT_EVENTS
72 void do_authenticated(
struct ssh *, Authctxt *);
73 void do_cleanup(
struct ssh *, Authctxt *);
75 int session_open(Authctxt *,
int);
76 void session_unused(
int);
77 int session_input_channel_req(
struct ssh *, Channel *,
const char *);
78 void session_close_by_pid(
struct ssh *ssh, pid_t,
int);
79 void session_close_by_channel(
struct ssh *,
int,
int,
void *);
80 void session_destroy_all(
struct ssh *,
void (*)(
struct ssh*, Session *));
81 void session_pty_cleanup2(Session *);
82 void session_end_command2(
struct ssh *ssh, Session *);
84 Session *session_new(
void);
85 Session *session_by_id(
int);
86 Session *session_by_tty(
char *);
87 void session_close(
struct ssh *, Session *);
88 void do_setusercontext(
struct passwd *);
90 const char *session_get_remote_name_or_ip(
struct ssh *, u_int,
int);