summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2001-07-04 17:25:54 +0000
committerKevin Steves <stevesk@pobox.com>2001-07-04 17:25:54 +0000
commitd009ae3d04b7ea4e5385e2ca98394d8ddfefda93 (patch)
tree4e16f70a691750f235125b759d5f11e68c1dfc7b /misc.h
parentf70b59c0393722baf3af24bedff7ba03553b7924 (diff)
- (stevesk) sync misc.h
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/misc.h b/misc.h
index 5f0b0aa4f..fc5645271 100644
--- a/misc.h
+++ b/misc.h
@@ -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
15char *chop(char *); 15char *chop(char *);
16char *strdelim(char **); 16char *strdelim(char **);
17void set_nonblock(int); 17void set_nonblock(int);
18void unset_nonblock(int); 18void unset_nonblock(int);
19int a2port(const char *); 19int a2port(const char *);
20char *cleanhostname(char *); 20char *cleanhostname(char *);
21char *colon(char *); 21char *colon(char *);
22long convtime(const char *); 22long convtime(const char *);
23
24struct passwd *pwcopy(struct passwd *);
23 25
24typedef struct arglist arglist; 26typedef struct arglist arglist;
25struct arglist { 27struct arglist {
@@ -27,8 +29,7 @@ struct arglist {
27 int num; 29 int num;
28 int nalloc; 30 int nalloc;
29}; 31};
30 32void addargs(arglist *, char *, ...) __attribute__((format(printf, 2, 3)));
31void addargs(arglist *, char *, ...) __attribute__((format(printf, 2, 3)));
32 33
33/* wrapper for signal interface */ 34/* wrapper for signal interface */
34typedef void (*mysig_t)(int); 35typedef void (*mysig_t)(int);