aboutsummaryrefslogtreecommitdiffstats
path: root/include/afb-plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/afb-plugin.h')
-rw-r--r--include/afb-plugin.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/afb-plugin.h b/include/afb-plugin.h
index ce78e840..63617cbe 100644
--- a/include/afb-plugin.h
+++ b/include/afb-plugin.h
@@ -31,11 +31,12 @@ enum AFB_pluginE
/* Enum for Session/Token/Authentication middleware */
enum AFB_sessionE
{
- AFB_SESSION_NONE,
- AFB_SESSION_CREATE,
- AFB_SESSION_CLOSE,
- AFB_SESSION_RENEW,
- AFB_SESSION_CHECK
+ AFB_SESSION_NONE = 0,
+ AFB_SESSION_CREATE = 1,
+ AFB_SESSION_CLOSE = 2,
+ AFB_SESSION_RENEW = 4,
+ AFB_SESSION_CHECK = 8,
+ AFB_SESSION_MASK = 15
};
/* API definition */