version 1.2.2.6, 2002/03/08 17:04:42 |
version 1.3, 2001/02/22 21:59:44 |
|
|
* incompatible with the protocol description in the RFC file, it must be |
* incompatible with the protocol description in the RFC file, it must be |
* called by a name other than "ssh" or "Secure Shell". |
* called by a name other than "ssh" or "Secure Shell". |
*/ |
*/ |
|
/* remove newline at end of string */ |
|
char *chop(char *s); |
|
|
char *chop(char *); |
/* return next token in configuration line */ |
char *strdelim(char **); |
char *strdelim(char **s); |
void set_nonblock(int); |
|
void unset_nonblock(int); |
|
void set_nodelay(int); |
|
int a2port(const char *); |
|
char *cleanhostname(char *); |
|
char *colon(char *); |
|
long convtime(const char *); |
|
|
|
struct passwd *pwcopy(struct passwd *); |
/* set filedescriptor to non-blocking */ |
|
void set_nonblock(int fd); |
|
|
typedef struct arglist arglist; |
struct passwd * pwcopy(struct passwd *pw); |
struct arglist { |
|
char **list; |
|
int num; |
|
int nalloc; |
|
}; |
|
void addargs(arglist *, char *, ...) __attribute__((format(printf, 2, 3))); |
|