summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/misc.h b/misc.h
index 45d1c0a0d..d4a23cba3 100644
--- a/misc.h
+++ b/misc.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: misc.h,v 1.13 2004/05/08 00:01:37 deraadt Exp $ */ 1/* $OpenBSD: misc.h,v 1.14 2004/05/08 00:21:31 djm Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -12,6 +12,8 @@
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
15/* misc.c */
16
15char *chop(char *); 17char *chop(char *);
16char *strdelim(char **); 18char *strdelim(char **);
17void set_nonblock(int); 19void set_nonblock(int);
@@ -32,4 +34,14 @@ struct arglist {
32}; 34};
33void addargs(arglist *, char *, ...) __attribute__((format(printf, 2, 3))); 35void addargs(arglist *, char *, ...) __attribute__((format(printf, 2, 3)));
34 36
37/* tildexpand.c */
38
35char *tilde_expand_filename(const char *, uid_t); 39char *tilde_expand_filename(const char *, uid_t);
40
41/* readpass.c */
42
43#define RP_ECHO 0x0001
44#define RP_ALLOW_STDIN 0x0002
45#define RP_ALLOW_EOF 0x0004
46
47char *read_passphrase(const char *, int);