summaryrefslogtreecommitdiff
path: root/hostfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'hostfile.h')
-rw-r--r--hostfile.h9
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
17int 17int
18auth_rsa_read_key(char **cpp, u_int *bitsp, BIGNUM * e, BIGNUM * n); 18auth_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
30HostStatus 30HostStatus
31check_host_in_hostfile(const char *filename, const char *host, Key *key, 31check_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 */
38int add_host_to_hostfile(const char *filename, const char *host, Key *key); 37int add_host_to_hostfile(const char *, const char *, Key *);
39 38
40#endif 39#endif