]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/plugins/radius/radiusclient/src/radlogin.h
Added RADIUS suppport.
[ppp.git] / pppd / plugins / radius / radiusclient / src / radlogin.h
diff --git a/pppd/plugins/radius/radiusclient/src/radlogin.h b/pppd/plugins/radius/radiusclient/src/radlogin.h
new file mode 100644 (file)
index 0000000..ac2af1a
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+ * $Id: radlogin.h,v 1.1 2002/01/22 16:03:05 dfs Exp $
+ *
+ * Copyright (C) 1996 Lars Fenneberg
+ *
+ * See the file COPYRIGHT for the respective terms and conditions. 
+ * If the file is missing contact me at lf@elemental.net 
+ * and I'll send you a copy.
+ *
+ */
+
+#ifndef RADLOGIN_H
+#define RADLOGIN_H
+
+#undef __P
+#if defined (__STDC__) || defined (_AIX) || (defined (__mips) && defined (_SYSTYPE_SVR4)) || defined(WIN32) || defined(__cplusplus)
+# define __P(protos) protos
+#else
+# define __P(protos) ()
+#endif
+
+typedef void (*LFUNC)(char *);
+
+/* radius.c */
+LFUNC auth_radius(UINT4, char *, char *);
+void radius_login(char *);
+
+/* local.c */
+LFUNC auth_local __P((char *, char *));
+void local_login __P((char *));
+
+#endif /* RADLOGIN_H */