version 1.13, 1999/10/16 20:47:14 |
version 1.14, 1999/10/25 20:41:55 |
|
|
/* Removes a cleanup frunction to be called at fatal(). */ |
/* Removes a cleanup frunction to be called at fatal(). */ |
void fatal_remove_cleanup(void (*proc)(void *context), void *context); |
void fatal_remove_cleanup(void (*proc)(void *context), void *context); |
|
|
/*---------------- definitions for x11.c ------------------*/ |
/*---------------- definitions for channels ------------------*/ |
|
|
|
|
/* Sets specific protocol options. */ |
/* Sets specific protocol options. */ |
void channel_set_options(int hostname_in_open); |
void channel_set_options(int hostname_in_open); |
|
|
|
|
/* Sends a message to the server to request authentication fd forwarding. */ |
/* Sends a message to the server to request authentication fd forwarding. */ |
void auth_request_forwarding(void); |
void auth_request_forwarding(void); |
|
|
/* Returns the number of the file descriptor to pass to child programs as |
|
the authentication fd. */ |
|
int auth_get_fd(void); |
|
|
|
/* Returns the name of the forwarded authentication socket. Returns NULL |
/* Returns the name of the forwarded authentication socket. Returns NULL |
if there is no forwarded authentication socket. The returned value points |
if there is no forwarded authentication socket. The returned value points |
to a static buffer. */ |
to a static buffer. */ |
|
|
/* Expands tildes in the file name. Returns data allocated by xmalloc. |
/* Expands tildes in the file name. Returns data allocated by xmalloc. |
Warning: this calls getpw*. */ |
Warning: this calls getpw*. */ |
char *tilde_expand_filename(const char *filename, uid_t my_uid); |
char *tilde_expand_filename(const char *filename, uid_t my_uid); |
|
|
/* Gets a file descriptor that won't get closed by shell pathname. |
|
If pathname is NULL, the path is inferred from the SHELL environment |
|
variable or the user id. */ |
|
int get_permanent_fd(const char *pathname); |
|
|
|
/* 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 |