diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-07-04 04:02:36 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-07-04 04:02:36 +0000 |
commit | 16ae3d0dba5f81e5602798b915105284033dea75 (patch) | |
tree | ce0c2bf0d7e961b1015d43d1a07269d81e7a9ce9 /hostfile.h | |
parent | 90279d80f57c79ac6566051172a94a2cca9674b1 (diff) |
- itojun@cvs.openbsd.org 2001/06/26 06:32:58
[atomicio.h authfd.h authfile.h auth.h auth-options.h bufaux.h
buffer.h canohost.h channels.h cipher.h clientloop.h compat.h
compress.h crc32.h deattack.h dh.h dispatch.h groupaccess.h
hostfile.h kex.h key.h log.h mac.h match.h misc.h mpaux.h packet.h
radix.h readconf.h readpass.h rsa.h]
prototype pedant. not very creative...
- () -> (void)
- no variable names
Diffstat (limited to 'hostfile.h')
-rw-r--r-- | hostfile.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/hostfile.h b/hostfile.h index 346bcd9ba..b83b77008 100644 --- a/hostfile.h +++ b/hostfile.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: hostfile.h,v 1.7 2001/02/08 19:30:51 itojun Exp $ */ | 1 | /* $OpenBSD: hostfile.h,v 1.8 2001/06/26 06:32:53 itojun Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -15,7 +15,7 @@ | |||
15 | #define HOSTFILE_H | 15 | #define HOSTFILE_H |
16 | 16 | ||
17 | int | 17 | int |
18 | auth_rsa_read_key(char **cpp, u_int *bitsp, BIGNUM * e, BIGNUM * n); | 18 | auth_rsa_read_key(char **, u_int *, BIGNUM *, BIGNUM *); |
19 | 19 | ||
20 | /* | 20 | /* |
21 | * Checks whether the given host is already in the list of our known hosts. | 21 | * Checks whether the given host is already in the list of our known hosts. |
@@ -28,13 +28,12 @@ typedef enum { | |||
28 | } HostStatus; | 28 | } HostStatus; |
29 | 29 | ||
30 | HostStatus | 30 | HostStatus |
31 | check_host_in_hostfile(const char *filename, const char *host, Key *key, | 31 | check_host_in_hostfile(const char *, const char *, Key *, Key *, int *); |
32 | Key *found, int *line); | ||
33 | 32 | ||
34 | /* | 33 | /* |
35 | * Appends an entry to the host file. Returns false if the entry could not | 34 | * Appends an entry to the host file. Returns false if the entry could not |
36 | * be appended. | 35 | * be appended. |
37 | */ | 36 | */ |
38 | int add_host_to_hostfile(const char *filename, const char *host, Key *key); | 37 | int add_host_to_hostfile(const char *, const char *, Key *); |
39 | 38 | ||
40 | #endif | 39 | #endif |