From f1b901ed676b2d45ec8e6ae3d6ef2f94d79f9ee6 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Tue, 10 May 2016 13:47:58 +0200 Subject: Refactoring requests and context handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also adds a first (untested) implmentation of the afb services over dbus. Change-Id: Id1bdeccf75f3a70d3658bdaf0510d6e7b97f6c32 Signed-off-by: José Bollo --- include/afb-plugin.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'include/afb-plugin.h') 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 */ -- cgit 1.2.3-korg