]> andersk Git - openssh.git/blob - hostfile.h
- jakob@cvs.openbsd.org 2001/12/18 10:04:21
[openssh.git] / hostfile.h
1 /*      $OpenBSD: hostfile.h,v 1.10 2001/12/18 10:04:21 jakob Exp $     */
2
3 /*
4  * Author: Tatu Ylonen <ylo@cs.hut.fi>
5  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
6  *                    All rights reserved
7  *
8  * As far as I am concerned, the code I have written for this software
9  * can be used freely for any purpose.  Any derived versions of this
10  * software must be clearly marked as such, and if the derived work is
11  * incompatible with the protocol description in the RFC file, it must be
12  * called by a name other than "ssh" or "Secure Shell".
13  */
14 #ifndef HOSTFILE_H
15 #define HOSTFILE_H
16
17 typedef enum {
18         HOST_OK, HOST_NEW, HOST_CHANGED
19 }       HostStatus;
20
21 int      hostfile_read_key(char **, u_int *, Key *);
22 HostStatus
23 check_host_in_hostfile(const char *, const char *, Key *, Key *, int *);
24 int      add_host_to_hostfile(const char *, const char *, Key *);
25
26 #endif
This page took 0.050171 seconds and 5 git commands to generate.