diff options
author | Kevin Steves <stevesk@pobox.com> | 2001-07-04 17:25:54 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@pobox.com> | 2001-07-04 17:25:54 +0000 |
commit | d009ae3d04b7ea4e5385e2ca98394d8ddfefda93 (patch) | |
tree | 4e16f70a691750f235125b759d5f11e68c1dfc7b /misc.h | |
parent | f70b59c0393722baf3af24bedff7ba03553b7924 (diff) |
- (stevesk) sync misc.h
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -12,14 +12,16 @@ | |||
12 | * called by a name other than "ssh" or "Secure Shell". | 12 | * called by a name other than "ssh" or "Secure Shell". |
13 | */ | 13 | */ |
14 | 14 | ||
15 | char *chop(char *); | 15 | char *chop(char *); |
16 | char *strdelim(char **); | 16 | char *strdelim(char **); |
17 | void set_nonblock(int); | 17 | void set_nonblock(int); |
18 | void unset_nonblock(int); | 18 | void unset_nonblock(int); |
19 | int a2port(const char *); | 19 | int a2port(const char *); |
20 | char *cleanhostname(char *); | 20 | char *cleanhostname(char *); |
21 | char *colon(char *); | 21 | char *colon(char *); |
22 | long convtime(const char *); | 22 | long convtime(const char *); |
23 | |||
24 | struct passwd *pwcopy(struct passwd *); | ||
23 | 25 | ||
24 | typedef struct arglist arglist; | 26 | typedef struct arglist arglist; |
25 | struct arglist { | 27 | struct arglist { |
@@ -27,8 +29,7 @@ struct arglist { | |||
27 | int num; | 29 | int num; |
28 | int nalloc; | 30 | int nalloc; |
29 | }; | 31 | }; |
30 | 32 | void addargs(arglist *, char *, ...) __attribute__((format(printf, 2, 3))); | |
31 | void addargs(arglist *, char *, ...) __attribute__((format(printf, 2, 3))); | ||
32 | 33 | ||
33 | /* wrapper for signal interface */ | 34 | /* wrapper for signal interface */ |
34 | typedef void (*mysig_t)(int); | 35 | typedef void (*mysig_t)(int); |