summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/misc.h b/misc.h
index 89e1f75d3..42cd95e42 100644
--- a/misc.h
+++ b/misc.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: misc.h,v 1.54 2014/07/15 15:54:14 millert Exp $ */ 1/* $OpenBSD: misc.h,v 1.57 2016/07/15 00:24:30 djm Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -27,6 +27,8 @@ struct Forward {
27 int handle; /* Handle for dynamic listen ports */ 27 int handle; /* Handle for dynamic listen ports */
28}; 28};
29 29
30int forward_equals(const struct Forward *, const struct Forward *);
31
30/* Common server and client forwarding options. */ 32/* Common server and client forwarding options. */
31struct ForwardOptions { 33struct ForwardOptions {
32 int gateway_ports; /* Allow remote connects to forwarded ports. */ 34 int gateway_ports; /* Allow remote connects to forwarded ports. */
@@ -47,6 +49,7 @@ char *put_host_port(const char *, u_short);
47char *hpdelim(char **); 49char *hpdelim(char **);
48char *cleanhostname(char *); 50char *cleanhostname(char *);
49char *colon(char *); 51char *colon(char *);
52int parse_user_host_port(const char *, char **, char **, int *);
50long convtime(const char *); 53long convtime(const char *);
51char *tilde_expand_filename(const char *, uid_t); 54char *tilde_expand_filename(const char *, uid_t);
52char *percent_expand(const char *, ...) __attribute__((__sentinel__)); 55char *percent_expand(const char *, ...) __attribute__((__sentinel__));
@@ -55,6 +58,7 @@ void sanitise_stdfd(void);
55void ms_subtract_diff(struct timeval *, int *); 58void ms_subtract_diff(struct timeval *, int *);
56void ms_to_timeval(struct timeval *, int); 59void ms_to_timeval(struct timeval *, int);
57time_t monotime(void); 60time_t monotime(void);
61double monotime_double(void);
58void lowercase(char *s); 62void lowercase(char *s);
59int unix_listener(const char *, int, int); 63int unix_listener(const char *, int, int);
60 64