=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/hostfile.h,v retrieving revision 1.9 retrieving revision 1.9.2.2 diff -u -r1.9 -r1.9.2.2 --- src/usr.bin/ssh/hostfile.h 2001/06/26 17:27:23 1.9 +++ src/usr.bin/ssh/hostfile.h 2002/10/11 14:53:06 1.9.2.2 @@ -1,4 +1,4 @@ -/* $OpenBSD: hostfile.h,v 1.9 2001/06/26 17:27:23 markus Exp $ */ +/* $OpenBSD: hostfile.h,v 1.9.2.2 2002/10/11 14:53:06 miod Exp $ */ /* * Author: Tatu Ylonen @@ -15,12 +15,14 @@ #define HOSTFILE_H typedef enum { - HOST_OK, HOST_NEW, HOST_CHANGED + HOST_OK, HOST_NEW, HOST_CHANGED, HOST_FOUND } HostStatus; +int hostfile_read_key(char **, u_int *, Key *); HostStatus check_host_in_hostfile(const char *, const char *, Key *, Key *, int *); int add_host_to_hostfile(const char *, const char *, Key *); -int auth_rsa_read_key(char **, u_int *, BIGNUM *, BIGNUM *); +int +lookup_key_in_hostfile_by_type(const char *, const char *, int , Key *, int *); #endif