diff options
Diffstat (limited to 'crypto/openssh/session.h')
-rw-r--r-- | crypto/openssh/session.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/crypto/openssh/session.h b/crypto/openssh/session.h new file mode 100644 index 0000000..a3427bc --- /dev/null +++ b/crypto/openssh/session.h @@ -0,0 +1,14 @@ +#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 |