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 5db594b91..b34c798e7 100644
--- a/misc.h
+++ b/misc.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: misc.h,v 1.84 2020/01/24 23:54:40 djm Exp $ */ 1/* $OpenBSD: misc.h,v 1.87 2020/05/29 11:17:56 dtucker Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -66,8 +66,12 @@ int parse_user_host_path(const char *, char **, char **, char **);
66int parse_user_host_port(const char *, char **, char **, int *); 66int parse_user_host_port(const char *, char **, char **, int *);
67int parse_uri(const char *, const char *, char **, char **, int *, char **); 67int parse_uri(const char *, const char *, char **, char **, int *, char **);
68long convtime(const char *); 68long convtime(const char *);
69const char *fmt_timeframe(time_t t);
69char *tilde_expand_filename(const char *, uid_t); 70char *tilde_expand_filename(const char *, uid_t);
71
72char *dollar_expand(int *, const char *string, ...);
70char *percent_expand(const char *, ...) __attribute__((__sentinel__)); 73char *percent_expand(const char *, ...) __attribute__((__sentinel__));
74char *percent_dollar_expand(const char *, ...) __attribute__((__sentinel__));
71char *tohex(const void *, size_t); 75char *tohex(const void *, size_t);
72void xextendf(char **s, const char *sep, const char *fmt, ...) 76void xextendf(char **s, const char *sep, const char *fmt, ...)
73 __attribute__((__format__ (printf, 3, 4))) __attribute__((__nonnull__ (3))); 77 __attribute__((__format__ (printf, 3, 4))) __attribute__((__nonnull__ (3)));