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

Annotation of src/usr.bin/ssh/authfile.h, Revision 1.5.2.1

1.3       deraadt     1: /*
1.4       markus      2:  * Author: Tatu Ylonen <ylo@cs.hut.fi>
                      3:  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
                      4:  *                    All rights reserved
1.3       deraadt     5:  *
1.4       markus      6:  * As far as I am concerned, the code I have written for this software
                      7:  * can be used freely for any purpose.  Any derived versions of this
                      8:  * software must be clearly marked as such, and if the derived work is
                      9:  * incompatible with the protocol description in the RFC file, it must be
                     10:  * called by a name other than "ssh" or "Secure Shell".
1.3       deraadt    11:  */
1.5       djm        12:
1.5.2.1 ! jason      13: /* $OpenBSD: authfile.h,v 1.6 2001/03/26 08:07:08 markus Exp $ */
1.5       djm        14:
1.1       markus     15: #ifndef AUTHFILE_H
                     16: #define AUTHFILE_H
1.5       djm        17:
1.1       markus     18: int
1.5.2.1 ! jason      19: key_save_private(Key *key, const char *filename, const char *passphrase,
        !            20:     const char *comment);
1.1       markus     21:
1.5.2.1 ! jason      22: Key *
        !            23: key_load_public(const char *filename, char **commentp);
1.1       markus     24:
1.5.2.1 ! jason      25: Key *
        !            26: key_load_public_type(int type, const char *filename, char **commentp);
        !            27:
        !            28: Key *
        !            29: key_load_private(const char *filename, const char *passphrase,
        !            30:     char **commentp);
        !            31:
        !            32: Key *
        !            33: key_load_private_type(int type, const char *filename, const char *passphrase,
        !            34:     char **commentp);
1.1       markus     35:
                     36: #endif