]> git.ozlabs.org Git - ppp.git/blob - pppd/plugins/radius/radiusclient/src/radlogin.h
Added RADIUS suppport.
[ppp.git] / pppd / plugins / radius / radiusclient / src / radlogin.h
1 /*
2  * $Id: radlogin.h,v 1.1 2002/01/22 16:03:05 dfs Exp $
3  *
4  * Copyright (C) 1996 Lars Fenneberg
5  *
6  * See the file COPYRIGHT for the respective terms and conditions. 
7  * If the file is missing contact me at lf@elemental.net 
8  * and I'll send you a copy.
9  *
10  */
11
12 #ifndef RADLOGIN_H
13 #define RADLOGIN_H
14
15 #undef __P
16 #if defined (__STDC__) || defined (_AIX) || (defined (__mips) && defined (_SYSTYPE_SVR4)) || defined(WIN32) || defined(__cplusplus)
17 # define __P(protos) protos
18 #else
19 # define __P(protos) ()
20 #endif
21
22 typedef void (*LFUNC)(char *);
23
24 /* radius.c */
25 LFUNC auth_radius(UINT4, char *, char *);
26 void radius_login(char *);
27
28 /* local.c */
29 LFUNC auth_local __P((char *, char *));
30 void local_login __P((char *));
31
32 #endif /* RADLOGIN_H */