version 1.20, 2013/07/12 00:19:58 |
version 1.21, 2015/01/15 09:40:00 |
|
|
char *host; |
char *host; |
char *file; |
char *file; |
u_long line; |
u_long line; |
Key *key; |
struct sshkey *key; |
HostkeyMarker marker; |
HostkeyMarker marker; |
}; |
}; |
struct hostkeys; |
struct hostkeys; |
|
|
void load_hostkeys(struct hostkeys *, const char *, const char *); |
void load_hostkeys(struct hostkeys *, const char *, const char *); |
void free_hostkeys(struct hostkeys *); |
void free_hostkeys(struct hostkeys *); |
|
|
HostStatus check_key_in_hostkeys(struct hostkeys *, Key *, |
HostStatus check_key_in_hostkeys(struct hostkeys *, struct sshkey *, |
const struct hostkey_entry **); |
const struct hostkey_entry **); |
int lookup_key_in_hostkeys_by_type(struct hostkeys *, int, |
int lookup_key_in_hostkeys_by_type(struct hostkeys *, int, |
const struct hostkey_entry **); |
const struct hostkey_entry **); |
|
|
int hostfile_read_key(char **, int *, Key *); |
int hostfile_read_key(char **, u_int *, struct sshkey *); |
int add_host_to_hostfile(const char *, const char *, const Key *, int); |
int add_host_to_hostfile(const char *, const char *, |
|
const struct sshkey *, int); |
|
|
#define HASH_MAGIC "|1|" |
#define HASH_MAGIC "|1|" |
#define HASH_DELIM '|' |
#define HASH_DELIM '|' |