]> andersk Git - openssh.git/blame - hostfile.h
- (djm) OpenBSD CVS Sync
[openssh.git] / hostfile.h
CommitLineData
4f3834e8 1/* $OpenBSD: hostfile.h,v 1.12 2002/09/08 20:24:08 markus Exp $ */
23c2a7a5 2
bcbf86ec 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 */
4fe2af09 14#ifndef HOSTFILE_H
15#define HOSTFILE_H
16
4fe2af09 17typedef enum {
4f3834e8 18 HOST_OK, HOST_NEW, HOST_CHANGED, HOST_FOUND
4fe2af09 19} HostStatus;
1e3b8b07 20
fb396518 21int hostfile_read_key(char **, u_int *, Key *);
6ae2364d 22HostStatus
2a1e4639 23check_host_in_hostfile(const char *, const char *, Key *, Key *, int *);
255cabd9 24int add_host_to_hostfile(const char *, const char *, Key *);
8a48a7ef 25int
26lookup_key_in_hostfile_by_type(const char *, const char *, int , Key *, int *);
4fe2af09 27
28#endif
This page took 0.136968 seconds and 5 git commands to generate.