[BACK]Return to session.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

File: [local] / src / usr.bin / ssh / session.h (download)

Revision 1.2, Thu Apr 6 08:55:22 2000 UTC (24 years, 2 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE
Branch point for: OPENBSD_2_7
Changes since 1.1: +7 -0 lines

ssh2 server side, see README.openssh2; enable with 'sshd -2'

#ifndef SESSION_H
#define SESSION_H

/* SSH1 */
void	do_authenticated(struct passwd * pw);

/* SSH2 */
void	do_authenticated2(void);
int	session_open(int id);
void	session_input_channel_req(int id, void *arg);
void	session_close_by_pid(pid_t pid, int status);
void	session_close_by_channel(int id, void *arg);

#endif