[BACK]Return to hostfile.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Annotation of src/usr.bin/ssh/hostfile.h, Revision 1.12

1.12    ! markus      1: /*     $OpenBSD: hostfile.h,v 1.11 2002/07/24 16:11:18 markus Exp $    */
1.6       niklas      2:
1.3       deraadt     3: /*
1.4       markus      4:  * Author: Tatu Ylonen <ylo@cs.hut.fi>
                      5:  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
                      6:  *                    All rights reserved
1.3       deraadt     7:  *
1.4       markus      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".
1.3       deraadt    13:  */
1.1       markus     14: #ifndef HOSTFILE_H
                     15: #define HOSTFILE_H
1.7       itojun     16:
1.1       markus     17: typedef enum {
1.12    ! markus     18:        HOST_OK, HOST_NEW, HOST_CHANGED, HOST_FOUND
1.1       markus     19: }       HostStatus;
1.5       markus     20:
1.10      jakob      21: int     hostfile_read_key(char **, u_int *, Key *);
1.2       markus     22: HostStatus
1.8       itojun     23: check_host_in_hostfile(const char *, const char *, Key *, Key *, int *);
1.9       markus     24: int     add_host_to_hostfile(const char *, const char *, Key *);
1.11      markus     25: int
                     26: lookup_key_in_hostfile_by_type(const char *, const char *, int , Key *, int *);
1.1       markus     27:
                     28: #endif