version 1.2.2.4, 2001/05/07 21:09:31 |
version 1.2.2.5, 2001/09/27 00:15:42 |
|
|
* 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); |
|
|
|
/* return next token in configuration line */ |
char *chop(char *); |
char *strdelim(char **s); |
char *strdelim(char **); |
|
void set_nonblock(int); |
|
void unset_nonblock(int); |
|
int a2port(const char *); |
|
char *cleanhostname(char *); |
|
char *colon(char *); |
|
long convtime(const char *); |
|
|
/* set filedescriptor to non-blocking */ |
struct passwd *pwcopy(struct passwd *); |
void set_nonblock(int fd); |
|
|
|
struct passwd * pwcopy(struct passwd *pw); |
typedef struct arglist arglist; |
|
struct arglist { |
/* |
char **list; |
* Convert ASCII string to TCP/IP port number. |
int num; |
* Port must be >0 and <=65535. |
int nalloc; |
* Return 0 if invalid. |
}; |
*/ |
void addargs(arglist *, char *, ...) __attribute__((format(printf, 2, 3))); |
int a2port(const char *s); |
|