summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/misc.h b/misc.h
index 8deea5ea6..bcc34f980 100644
--- a/misc.h
+++ b/misc.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: misc.h,v 1.80 2019/09/03 08:29:58 djm Exp $ */ 1/* $OpenBSD: misc.h,v 1.81 2019/09/03 08:32:11 djm Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -166,6 +166,11 @@ int safe_path(const char *, struct stat *, const char *, uid_t,
166int safe_path_fd(int, const char *, struct passwd *, 166int safe_path_fd(int, const char *, struct passwd *,
167 char *err, size_t errlen); 167 char *err, size_t errlen);
168 168
169/* authorized_key-style options parsing helpers */
170int opt_flag(const char *opt, int allow_negate, const char **optsp);
171char *opt_dequote(const char **sp, const char **errstrp);
172int opt_match(const char **opts, const char *term);
173
169/* readpass.c */ 174/* readpass.c */
170 175
171#define RP_ECHO 0x0001 176#define RP_ECHO 0x0001