diff options
author | djm@openbsd.org <djm@openbsd.org> | 2021-01-26 00:51:30 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2021-01-26 12:21:48 +1100 |
commit | dfe18a295542c169ffde8533b3d7fe42088e2de7 (patch) | |
tree | 8d8ae699b2bb8d1bee8b17d7770ce515fdfe2883 /hostfile.h | |
parent | 3b44f2513cae89c920e8fe927b9bc910a1c8c65a (diff) |
upstream: make struct hostkeys public; I have no idea why I made it
opaque originally.
ok markus@
OpenBSD-Commit-ID: e50780b34d4bbe628d69b2405b024dd749d982f3
Diffstat (limited to 'hostfile.h')
-rw-r--r-- | hostfile.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: hostfile.h,v 1.28 2020/12/20 23:36:51 djm Exp $ */ +/* $OpenBSD: hostfile.h,v 1.29 2021/01/26 00:51:30 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -30,7 +30,10 @@ struct hostkey_entry { HostkeyMarker marker; u_int note; /* caller-specific note/flag */ }; -struct hostkeys; +struct hostkeys { + struct hostkey_entry *entries; + u_int num_entries; +}; struct hostkeys *init_hostkeys(void); void load_hostkeys(struct hostkeys *, const char *, |