Displaying 1 result from an estimated 1 matches for "c2965f9".
Did you mean:
29659
2012 Dec 27
3
[PATCH] hostfile: list known names (if any) for new hostkeys
...s->num_entries].host = xstrdup(current_host);
hostkeys->entries[hostkeys->num_entries].file = xstrdup(path);
hostkeys->entries[hostkeys->num_entries].line = linenum;
hostkeys->entries[hostkeys->num_entries].key = key;
diff --git a/hostfile.h b/hostfile.h
index d84d422..c2965f9 100644
--- a/hostfile.h
+++ b/hostfile.h
@@ -29,10 +29,14 @@ struct hostkey_entry {
Key *key;
HostkeyMarker marker;
};
-struct hostkeys;
+
+struct hostkeys {
+ struct hostkey_entry *entries;
+ u_int num_entries;
+};
struct hostkeys *init_hostkeys(void);
-void load_hostkeys(struct hostkeys...