diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-05-10 13:47:58 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-05-10 13:47:58 +0200 |
commit | f1b901ed676b2d45ec8e6ae3d6ef2f94d79f9ee6 (patch) | |
tree | ea91e3f7485736acdd6aa83ffc6e0ff60f326577 /include/afb-plugin.h | |
parent | 19fb390ec60890d55bafe7a4c887b1453509f7ef (diff) |
Refactoring requests and context handling
Also adds a first (untested) implmentation of
the afb services over dbus.
Change-Id: Id1bdeccf75f3a70d3658bdaf0510d6e7b97f6c32
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include/afb-plugin.h')
-rw-r--r-- | include/afb-plugin.h | 11 |
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 */ |