"SfR Fresh" - the SfR Freeware/Shareware Archive 
Member "tn3270-5.2.0-glibc/tn3270/libtelnet/auth-proto.h" of archive tn3270-5.2.0-glibc.tgz:
As a special service "SfR Fresh" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting with prefixed line numbers.
Alternatively you can here view or download the uninterpreted source code file.
That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
1 /*-
2 * Copyright (c) 1991 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms are permitted provided
6 * that: (1) source distributions retain this entire copyright notice and
7 * comment, and (2) distributions including binaries display the following
8 * acknowledgement: ``This product includes software developed by the
9 * University of California, Berkeley and its contributors'' in the
10 * documentation or other materials provided with the distribution and in
11 * all advertising materials mentioning features or use of this software.
12 * Neither the name of the University nor the names of its contributors may
13 * be used to endorse or promote products derived from this software without
14 * specific prior written permission.
15 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
16 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
17 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
18 *
19 * @(#)auth-proto.h 5.1 (Berkeley) 2/28/91
20 */
21
22 /*
23 * Copyright (C) 1990 by the Massachusetts Institute of Technology
24 *
25 * Export of this software from the United States of America is assumed
26 * to require a specific license from the United States Government.
27 * It is the responsibility of any person or organization contemplating
28 * export to obtain such a license before exporting.
29 *
30 * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
31 * distribute this software and its documentation for any purpose and
32 * without fee is hereby granted, provided that the above copyright
33 * notice appear in all copies and that both that copyright notice and
34 * this permission notice appear in supporting documentation, and that
35 * the name of M.I.T. not be used in advertising or publicity pertaining
36 * to distribution of the software without specific, written prior
37 * permission. M.I.T. makes no representations about the suitability of
38 * this software for any purpose. It is provided "as is" without express
39 * or implied warranty.
40 */
41
42 #if !defined(P)
43 #ifdef __STDC__
44 #define P(x) x
45 #else
46 #define P(x) ()
47 #endif
48 #endif
49
50 #if defined(AUTHENTICATE)
51 Authenticator *findauthenticator P((int, int));
52
53 void auth_init P((char *, int));
54 int auth_cmd P((int, char **));
55 void auth_request P((void));
56 void auth_send P((unsigned char *, int));
57 void auth_send_retry P((void));
58 void auth_is P((unsigned char *, int));
59 void auth_reply P((unsigned char *, int));
60 void auth_finished P((Authenticator *, int));
61 int auth_wait P((char *));
62 void auth_disable_name P((char *));
63 void auth_gen_printsub P((unsigned char *, int, unsigned char *, int));
64
65 #ifdef KRB4
66 int kerberos4_init P((Authenticator *, int));
67 int kerberos4_send P((Authenticator *));
68 void kerberos4_is P((Authenticator *, unsigned char *, int));
69 void kerberos4_reply P((Authenticator *, unsigned char *, int));
70 int kerberos4_status P((Authenticator *, char *, int));
71 void kerberos4_printsub P((unsigned char *, int, unsigned char *, int));
72 #endif
73
74 #ifdef KRB5
75 int kerberos5_init P((Authenticator *, int));
76 int kerberos5_send P((Authenticator *));
77 void kerberos5_is P((Authenticator *, unsigned char *, int));
78 void kerberos5_reply P((Authenticator *, unsigned char *, int));
79 int kerberos5_status P((Authenticator *, char *, int));
80 void kerberos5_printsub P((unsigned char *, int, unsigned char *, int));
81 #endif
82 #endif