Change ENCRYPT to ENCRYPTION
[unix-history] / usr / src / lib / libtelnet / auth-proto.h
CommitLineData
85c66981
DB
1/*-
2 * Copyright (c) 1991 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * %sccs.include.redist.c%
6 *
b7c8f459 7 * @(#)auth-proto.h 5.2 (Berkeley) %G%
85c66981
DB
8 */
9
10/*
11 * Copyright (C) 1990 by the Massachusetts Institute of Technology
12 *
13 * Export of this software from the United States of America is assumed
14 * to require a specific license from the United States Government.
15 * It is the responsibility of any person or organization contemplating
16 * export to obtain such a license before exporting.
17 *
18 * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
19 * distribute this software and its documentation for any purpose and
20 * without fee is hereby granted, provided that the above copyright
21 * notice appear in all copies and that both that copyright notice and
22 * this permission notice appear in supporting documentation, and that
23 * the name of M.I.T. not be used in advertising or publicity pertaining
24 * to distribution of the software without specific, written prior
25 * permission. M.I.T. makes no representations about the suitability of
26 * this software for any purpose. It is provided "as is" without express
27 * or implied warranty.
28 */
29
30#if !defined(P)
31#ifdef __STDC__
32#define P(x) x
33#else
34#define P(x) ()
35#endif
36#endif
37
38#if defined(AUTHENTICATE)
39Authenticator *findauthenticator P((int, int));
40
41void auth_init P((char *, int));
42int auth_cmd P((int, char **));
43void auth_request P((void));
44void auth_send P((unsigned char *, int));
45void auth_send_retry P((void));
46void auth_is P((unsigned char *, int));
47void auth_reply P((unsigned char *, int));
48void auth_finished P((Authenticator *, int));
49int auth_wait P((char *));
50void auth_disable_name P((char *));
51void auth_gen_printsub P((unsigned char *, int, unsigned char *, int));
52
85c66981
DB
53#ifdef KRB4
54int kerberos4_init P((Authenticator *, int));
55int kerberos4_send P((Authenticator *));
56void kerberos4_is P((Authenticator *, unsigned char *, int));
57void kerberos4_reply P((Authenticator *, unsigned char *, int));
58int kerberos4_status P((Authenticator *, char *, int));
59void kerberos4_printsub P((unsigned char *, int, unsigned char *, int));
60#endif
61
62#ifdef KRB5
63int kerberos5_init P((Authenticator *, int));
64int kerberos5_send P((Authenticator *));
65void kerberos5_is P((Authenticator *, unsigned char *, int));
66void kerberos5_reply P((Authenticator *, unsigned char *, int));
67int kerberos5_status P((Authenticator *, char *, int));
68void kerberos5_printsub P((unsigned char *, int, unsigned char *, int));
69#endif
70#endif