diff options
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: misc.h,v 1.81 2019/09/03 08:32:11 djm Exp $ */ | 1 | /* $OpenBSD: misc.h,v 1.82 2019/11/12 22:34:20 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -178,8 +178,13 @@ int opt_match(const char **opts, const char *term); | |||
178 | #define RP_ALLOW_EOF 0x0004 | 178 | #define RP_ALLOW_EOF 0x0004 |
179 | #define RP_USE_ASKPASS 0x0008 | 179 | #define RP_USE_ASKPASS 0x0008 |
180 | 180 | ||
181 | struct notifier_ctx; | ||
182 | |||
181 | char *read_passphrase(const char *, int); | 183 | char *read_passphrase(const char *, int); |
182 | int ask_permission(const char *, ...) __attribute__((format(printf, 1, 2))); | 184 | int ask_permission(const char *, ...) __attribute__((format(printf, 1, 2))); |
185 | struct notifier_ctx *notify_start(int, const char *, ...) | ||
186 | __attribute__((format(printf, 2, 3))); | ||
187 | void notify_complete(struct notifier_ctx *); | ||
183 | 188 | ||
184 | #define MINIMUM(a, b) (((a) < (b)) ? (a) : (b)) | 189 | #define MINIMUM(a, b) (((a) < (b)) ? (a) : (b)) |
185 | #define MAXIMUM(a, b) (((a) > (b)) ? (a) : (b)) | 190 | #define MAXIMUM(a, b) (((a) > (b)) ? (a) : (b)) |