version 1.83.2.1, 2006/09/30 04:06:50 |
version 1.84, 2006/03/25 22:22:42 |
|
|
#ifndef CHANNEL_H |
#ifndef CHANNEL_H |
#define CHANNEL_H |
#define CHANNEL_H |
|
|
|
#include "buffer.h" |
|
|
/* Definitions for channel types. */ |
/* Definitions for channel types. */ |
#define SSH_CHANNEL_X11_LISTENER 1 /* Listening for inet X11 conn. */ |
#define SSH_CHANNEL_X11_LISTENER 1 /* Listening for inet X11 conn. */ |
#define SSH_CHANNEL_PORT_LISTENER 2 /* Listening on a port. */ |
#define SSH_CHANNEL_PORT_LISTENER 2 /* Listening on a port. */ |
|
|
void channel_set_af(int af); |
void channel_set_af(int af); |
void channel_permit_all_opens(void); |
void channel_permit_all_opens(void); |
void channel_add_permitted_opens(char *, int); |
void channel_add_permitted_opens(char *, int); |
int channel_add_adm_permitted_opens(char *, int); |
|
void channel_clear_permitted_opens(void); |
void channel_clear_permitted_opens(void); |
void channel_clear_adm_permitted_opens(void); |
void channel_input_port_forward_request(int, int); |
int channel_input_port_forward_request(int, int); |
|
int channel_connect_to(const char *, u_short); |
int channel_connect_to(const char *, u_short); |
int channel_connect_by_listen_address(u_short); |
int channel_connect_by_listen_address(u_short); |
int channel_request_remote_forwarding(const char *, u_short, |
void channel_request_remote_forwarding(const char *, u_short, |
const char *, u_short); |
const char *, u_short); |
int channel_setup_local_fwd_listener(const char *, u_short, |
int channel_setup_local_fwd_listener(const char *, u_short, |
const char *, u_short, int); |
const char *, u_short, int); |