]> andersk Git - openssh.git/blobdiff - hostfile.h
- wcobb@cvs.openbsd.org 2002/11/26 00:45:03
[openssh.git] / hostfile.h
index 05ef69174d71ca2fe5a360adb7b9f98a72cb0b77..e3d1165818cbc236710ad6104b44ce1f7f723c58 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: hostfile.h,v 1.9 2001/06/26 17:27:23 markus Exp $     */
+/*     $OpenBSD: hostfile.h,v 1.13 2002/11/21 23:03:51 deraadt Exp $   */
 
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
 #define HOSTFILE_H
 
 typedef enum {
-       HOST_OK, HOST_NEW, HOST_CHANGED
+       HOST_OK, HOST_NEW, HOST_CHANGED, HOST_FOUND
 }       HostStatus;
 
-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     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    lookup_key_in_hostfile_by_type(const char *, const char *,
+           int, Key *, int *);
 
 #endif
This page took 0.357671 seconds and 4 git commands to generate.