summaryrefslogtreecommitdiffstats
path: root/plugin/eurephia-auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/eurephia-auth.c')
-rw-r--r--plugin/eurephia-auth.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/plugin/eurephia-auth.c b/plugin/eurephia-auth.c
index a1e86ee..3536281 100644
--- a/plugin/eurephia-auth.c
+++ b/plugin/eurephia-auth.c
@@ -41,7 +41,15 @@
#include <eurephia.h>
-#ifdef ENABLE_DEBUG // To avoid compiler warnings when ENABLE_DEBUG is not defined
+#ifdef ENABLE_DEBUG /* To avoid compiler warnings when ENABLE_DEBUG is not defined */
+
+/**
+ * Simple "converter" from OPENVPN_PLUGIN_* type IDs to string
+ *
+ * @param type int value, corresponding to an OPENVPN_PLUGIN_* type
+ *
+ * @return String containing the string version of the type
+ */
static const char *plugin_type_name(const int type)
{
switch (type)