aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/plugins/eap_radius/eap_radius_plugin.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-03-24 10:24:58 +0000
committerMartin Willi <martin@strongswan.org>2009-03-24 10:24:58 +0000
commit4a6b84a93461b5ef7a3ad491c1894418db2c555b (patch)
tree4b532a5b23d5d250158b44f00cd0f914359da5d2 /src/charon/plugins/eap_radius/eap_radius_plugin.h
parent623bca407be12418fbaccdca977546ed4853e36e (diff)
downloadstrongswan-4a6b84a93461b5ef7a3ad491c1894418db2c555b.tar.bz2
strongswan-4a6b84a93461b5ef7a3ad491c1894418db2c555b.tar.xz
reintegrated eap-radius branch into trunk
Diffstat (limited to 'src/charon/plugins/eap_radius/eap_radius_plugin.h')
-rw-r--r--src/charon/plugins/eap_radius/eap_radius_plugin.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/charon/plugins/eap_radius/eap_radius_plugin.h b/src/charon/plugins/eap_radius/eap_radius_plugin.h
new file mode 100644
index 000000000..2c3978f42
--- /dev/null
+++ b/src/charon/plugins/eap_radius/eap_radius_plugin.h
@@ -0,0 +1,52 @@
+/*
+ * Copyright (C) 2009 Martin Willi
+ * Hochschule fuer Technik Rapperswil
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2 of the License, or (at your
+ * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ *
+ * $Id$
+ */
+
+/**
+ * @defgroup eap_radius eap_radius
+ * @ingroup cplugins
+ *
+ * @defgroup eap_radius_plugin eap_radius_plugin
+ * @{ @ingroup eap_radius
+ */
+
+#ifndef EAP_RADIUS_PLUGIN_H_
+#define EAP_RADIUS_PLUGIN_H_
+
+#include <plugins/plugin.h>
+
+typedef struct eap_radius_plugin_t eap_radius_plugin_t;
+
+/**
+ * EAP RADIUS proxy plugin.
+ *
+ * This plugin provides not a single EAP method, but a proxy to forwared
+ * EAP packets to a RADIUS server. It only provides server implementations.
+ */
+struct eap_radius_plugin_t {
+
+ /**
+ * implements plugin interface
+ */
+ plugin_t plugin;
+};
+
+/**
+ * Create a eap_radius_plugin instance.
+ */
+plugin_t *plugin_create();
+
+#endif /* EAP_RADIUS_PLUGIN_H_ @}*/