version 1.3, 2000/09/07 20:27:53 |
version 1.3.2.7, 2002/03/08 17:04:43 |
|
|
|
/* $OpenBSD$ */ |
|
|
/* |
/* |
* Copyright (c) 2000 Markus Friedl. All rights reserved. |
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. |
* |
* |
* Redistribution and use in source and binary forms, with or without |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
* modification, are permitted provided that the following conditions |
|
|
#ifndef SESSION_H |
#ifndef SESSION_H |
#define SESSION_H |
#define SESSION_H |
|
|
/* SSH1 */ |
void do_authenticated(Authctxt *); |
void do_authenticated(struct passwd * pw); |
|
|
|
/* SSH2 */ |
int session_open(Authctxt*, int); |
void do_authenticated2(void); |
int session_input_channel_req(Channel *, const char *); |
int session_open(int id); |
void session_close_by_pid(pid_t, int); |
void session_input_channel_req(int id, void *arg); |
void session_close_by_channel(int, void *); |
void session_close_by_pid(pid_t pid, int status); |
void session_destroy_all(void); |
void session_close_by_channel(int id, void *arg); |
|
|
|
#endif |
#endif |