Deleted Added
full compact
auth.h (8857) auth.h (13389)
1/*
2 * Written by Toshiharu OHNO (tony-o@iij.ad.jp)
3 *
4 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd.
5 *
6 * Redistribution and use in source and binary forms are permitted
7 * provided that the above copyright notice and this paragraph are
8 * duplicated in all such forms and that any documentation,
9 * advertising materials, and other materials related to such
10 * distribution and use acknowledge that the software was developed
11 * by the Internet Initiative Japan. The name of the
12 * IIJ may not be used to endorse or promote products derived
13 * from this software without specific prior written permission.
14 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17 *
1/*
2 * Written by Toshiharu OHNO (tony-o@iij.ad.jp)
3 *
4 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd.
5 *
6 * Redistribution and use in source and binary forms are permitted
7 * provided that the above copyright notice and this paragraph are
8 * duplicated in all such forms and that any documentation,
9 * advertising materials, and other materials related to such
10 * distribution and use acknowledge that the software was developed
11 * by the Internet Initiative Japan. The name of the
12 * IIJ may not be used to endorse or promote products derived
13 * from this software without specific prior written permission.
14 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17 *
18 * $Id: auth.h,v 1.1 1995/02/27 03:17:51 amurai Exp $
18 * $Id: auth.h,v 1.2 1995/05/30 03:50:26 rgrimes Exp $
19 *
20 * TODO:
21 */
22
23#ifndef _AUTH_H_
24#define _AUTH_H_
25
26typedef enum { VALID, INVALID, NOT_FOUND } LOCAL_AUTH_VALID;

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

34};
35extern struct authinfo AuthPapInfo;
36extern struct authinfo AuthChapInfo;
37
38extern void SendPapChallenge __P((int));
39extern void SendChapChallenge __P((int));
40extern void StopAuthTimer __P((struct authinfo *));
41extern void StartAuthChallenge __P((struct authinfo *));
19 *
20 * TODO:
21 */
22
23#ifndef _AUTH_H_
24#define _AUTH_H_
25
26typedef enum { VALID, INVALID, NOT_FOUND } LOCAL_AUTH_VALID;

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

34};
35extern struct authinfo AuthPapInfo;
36extern struct authinfo AuthChapInfo;
37
38extern void SendPapChallenge __P((int));
39extern void SendChapChallenge __P((int));
40extern void StopAuthTimer __P((struct authinfo *));
41extern void StartAuthChallenge __P((struct authinfo *));
42extern LOCAL_AUTH_VALID LocalAuthInit __P((void));
43extern int AuthValidate __P((char *, char *, char *));
42#endif
44#endif