summaryrefslogtreecommitdiff
path: root/hostfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'hostfile.h')
-rw-r--r--hostfile.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/hostfile.h b/hostfile.h
index bd2104373..de8b677e3 100644
--- a/hostfile.h
+++ b/hostfile.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: hostfile.h,v 1.24 2015/02/16 22:08:57 djm Exp $ */ 1/* $OpenBSD: hostfile.h,v 1.26 2020/06/26 05:02:03 dtucker Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -39,6 +39,7 @@ HostStatus check_key_in_hostkeys(struct hostkeys *, struct sshkey *,
39 const struct hostkey_entry **); 39 const struct hostkey_entry **);
40int lookup_key_in_hostkeys_by_type(struct hostkeys *, int, 40int lookup_key_in_hostkeys_by_type(struct hostkeys *, int,
41 const struct hostkey_entry **); 41 const struct hostkey_entry **);
42int lookup_marker_in_hostkeys(struct hostkeys *, int);
42 43
43int hostfile_read_key(char **, u_int *, struct sshkey *); 44int hostfile_read_key(char **, u_int *, struct sshkey *);
44int add_host_to_hostfile(const char *, const char *, 45int add_host_to_hostfile(const char *, const char *,
@@ -105,4 +106,6 @@ typedef int hostkeys_foreach_fn(struct hostkey_foreach_line *l, void *ctx);
105int hostkeys_foreach(const char *path, hostkeys_foreach_fn *callback, void *ctx, 106int hostkeys_foreach(const char *path, hostkeys_foreach_fn *callback, void *ctx,
106 const char *host, const char *ip, u_int options); 107 const char *host, const char *ip, u_int options);
107 108
109void hostfile_create_user_ssh_dir(const char *, int);
110
108#endif 111#endif