diff options
author | Damien Miller <djm@mindrot.org> | 2006-08-19 00:33:05 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-08-19 00:33:05 +1000 |
commit | bdf00ca0bda672d07516d65eaea999931dafdac3 (patch) | |
tree | 0f77a7764b48599343bd535bb480b750c2ddc51f /misc.h | |
parent | 3f8123c804bdabbc95caf9e3495310e584944fb2 (diff) |
- djm@cvs.openbsd.org 2006/08/18 10:27:16
[misc.h]
reorder so prototypes are sorted by the files they refer to; no
binary change
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: misc.h,v 1.35 2006/08/03 03:34:42 deraadt Exp $ */ | 1 | /* $OpenBSD: misc.h,v 1.36 2006/08/18 10:27:16 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -48,17 +48,6 @@ void replacearg(arglist *, u_int, char *, ...) | |||
48 | __attribute__((format(printf, 3, 4))); | 48 | __attribute__((format(printf, 3, 4))); |
49 | void freeargs(arglist *); | 49 | void freeargs(arglist *); |
50 | 50 | ||
51 | /* readpass.c */ | ||
52 | |||
53 | #define RP_ECHO 0x0001 | ||
54 | #define RP_ALLOW_STDIN 0x0002 | ||
55 | #define RP_ALLOW_EOF 0x0004 | ||
56 | #define RP_USE_ASKPASS 0x0008 | ||
57 | |||
58 | char *read_passphrase(const char *, int); | ||
59 | int ask_permission(const char *, ...) __attribute__((format(printf, 1, 2))); | ||
60 | int read_keyfile_line(FILE *, const char *, char *, size_t, u_long *); | ||
61 | |||
62 | int tun_open(int, int); | 51 | int tun_open(int, int); |
63 | 52 | ||
64 | /* Common definitions for ssh tunnel device forwarding */ | 53 | /* Common definitions for ssh tunnel device forwarding */ |
@@ -86,5 +75,16 @@ void put_u32(void *, u_int32_t) | |||
86 | void put_u16(void *, u_int16_t) | 75 | void put_u16(void *, u_int16_t) |
87 | __attribute__((__bounded__( __minbytes__, 1, 2))); | 76 | __attribute__((__bounded__( __minbytes__, 1, 2))); |
88 | 77 | ||
89 | #endif /* _MISC_H */ | ||
90 | 78 | ||
79 | /* readpass.c */ | ||
80 | |||
81 | #define RP_ECHO 0x0001 | ||
82 | #define RP_ALLOW_STDIN 0x0002 | ||
83 | #define RP_ALLOW_EOF 0x0004 | ||
84 | #define RP_USE_ASKPASS 0x0008 | ||
85 | |||
86 | char *read_passphrase(const char *, int); | ||
87 | int ask_permission(const char *, ...) __attribute__((format(printf, 1, 2))); | ||
88 | int read_keyfile_line(FILE *, const char *, char *, size_t, u_long *); | ||
89 | |||
90 | #endif /* _MISC_H */ | ||