version 1.45, 2000/05/08 17:12:16 |
version 1.45.2.2, 2000/09/01 18:23:24 |
|
|
* |
* |
*/ |
*/ |
|
|
/* RCSID("$Id$"); */ |
/* RCSID("$OpenBSD$"); */ |
|
|
#ifndef SSH_H |
#ifndef SSH_H |
#define SSH_H |
#define SSH_H |
|
|
*/ |
*/ |
char *tilde_expand_filename(const char *filename, uid_t my_uid); |
char *tilde_expand_filename(const char *filename, uid_t my_uid); |
|
|
|
/* remove newline at end of string */ |
|
char *chop(char *s); |
|
|
|
/* return next token in configuration line */ |
|
char *strdelim(char **s); |
|
|
|
/* set filedescriptor to non-blocking */ |
|
void set_nonblock(int fd); |
|
|
/* |
/* |
* Performs the interactive session. This handles data transmission between |
* Performs the interactive session. This handles data transmission between |
* the client and the program. Note that the notion of stdin, stdout, and |
* the client and the program. Note that the notion of stdin, stdout, and |
|
|
void server_loop2(void); |
void server_loop2(void); |
|
|
/* Client side main loop for the interactive session. */ |
/* Client side main loop for the interactive session. */ |
int client_loop(int have_pty, int escape_char); |
int client_loop(int have_pty, int escape_char, int id); |
|
|
/* Linked list of custom environment strings (see auth-rsa.c). */ |
/* Linked list of custom environment strings (see auth-rsa.c). */ |
struct envstring { |
struct envstring { |