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