]> andersk Git - openssh.git/blobdiff - hostfile.h
- (tim) [regress/README.regress] Document ssh-rand-helper issue. ok bal
[openssh.git] / hostfile.h
index 0244fdb53ea49f7556bfd838ff04d041200c6bcb..efcddc9f9c0e6a0bb10417c4a03e27662dacd8ed 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: hostfile.h,v 1.10 2001/12/18 10:04:21 jakob Exp $     */
+/*     $OpenBSD: hostfile.h,v 1.14 2003/11/10 16:23:41 jakob 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;
 
 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 *);
+HostStatus check_host_in_hostfile(const char *, const char *,
+           const Key *, Key *, int *);
+int    add_host_to_hostfile(const char *, const char *, const Key *);
+int    lookup_key_in_hostfile_by_type(const char *, const char *,
+           int, Key *, int *);
 
 #endif
This page took 0.054768 seconds and 4 git commands to generate.