Deleted Added
full compact
auth.h (81965) auth.h (87139)
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)auth.h 8.1 (Berkeley) 6/4/93
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)auth.h 8.1 (Berkeley) 6/4/93
34 * $FreeBSD: head/contrib/telnet/libtelnet/auth.h 81965 2001-08-20 12:28:40Z markm $
34 * $FreeBSD: head/contrib/telnet/libtelnet/auth.h 87139 2001-11-30 21:06:38Z markm $
35 */
36
37/*
38 * Copyright (C) 1990 by the Massachusetts Institute of Technology
39 *
40 * Export of this software from the United States of America is assumed
41 * to require a specific license from the United States Government.
42 * It is the responsibility of any person or organization contemplating

--- 15 unchanged lines hidden (view full) ---

58#define __AUTH__
59
60#define AUTH_REJECT 0 /* Rejected */
61#define AUTH_UNKNOWN 1 /* We don't know who he is, but he's okay */
62#define AUTH_OTHER 2 /* We know him, but not his name */
63#define AUTH_USER 3 /* We know he name */
64#define AUTH_VALID 4 /* We know him, and he needs no password */
65
35 */
36
37/*
38 * Copyright (C) 1990 by the Massachusetts Institute of Technology
39 *
40 * Export of this software from the United States of America is assumed
41 * to require a specific license from the United States Government.
42 * It is the responsibility of any person or organization contemplating

--- 15 unchanged lines hidden (view full) ---

58#define __AUTH__
59
60#define AUTH_REJECT 0 /* Rejected */
61#define AUTH_UNKNOWN 1 /* We don't know who he is, but he's okay */
62#define AUTH_OTHER 2 /* We know him, but not his name */
63#define AUTH_USER 3 /* We know he name */
64#define AUTH_VALID 4 /* We know him, and he needs no password */
65
66#if !defined(P)
67#ifdef __STDC__
68#define P(x) x
69#else
70#define P(x) ()
71#endif
72#endif
73
74typedef struct XauthP {
75 int type;
76 int way;
66typedef struct XauthP {
67 int type;
68 int way;
77 int (*init) P((struct XauthP *, int));
78 int (*send) P((struct XauthP *));
79 void (*is) P((struct XauthP *, unsigned char *, int));
80 void (*reply) P((struct XauthP *, unsigned char *, int));
81 int (*status) P((struct XauthP *, char *, int));
82 void (*printsub) P((unsigned char *, int, unsigned char *, int));
69 int (*init)(struct XauthP *, int);
70 int (*send)(struct XauthP *);
71 void (*is)(struct XauthP *, unsigned char *, int);
72 void (*reply)(struct XauthP *, unsigned char *, int);
73 int (*status)(struct XauthP *, char *, int);
74 void (*printsub)(unsigned char *, int, unsigned char *, int);
83} Authenticator;
84
85#include "auth-proto.h"
86
87extern int auth_debug_mode;
88#endif
75} Authenticator;
76
77#include "auth-proto.h"
78
79extern int auth_debug_mode;
80#endif