aboutsummaryrefslogtreecommitdiffstats
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2016-05-23Setting and checking LOAJosé Bollo2-7/+33
Change-Id: I02c3795c6e212491605861228eb60b731be78537 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-22Add verbs for closing and setting LOAJosé Bollo1-0/+13
These new verbs are now available to plugins. LOA is the level-of-authorisation. The usage of these new verbs must be protected by a mechanism that is still to be done. Change-Id: Ia591fb6bf9cd16956dc95658c5ba3a24ee4380be Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-22Fix AFB_SESSION_CREATE behaviourJosé Bollo1-0/+11
This commit allows to call methods having AFB_SESSION_CREATE at any time. This commit prepares the future LOA (level of authorization) implementation that wille soon replace the deprecated mechanism of AFB_SESSION_CREATE. Change-Id: Ia3e99186e012fcd55a6c81a7067ab5b4aca21e4d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-19minor: documenting and cleaningJosé Bollo1-1/+20
Change-Id: Ia5a84655ac7f881682409c3c6ed72e395c86a34d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-18adds a pkgconfig fileJosé Bollo1-1/+1
Change-Id: Ic0d143f282feef7335c7ea2bf589df90af4eef2f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-17event sender: better namingJosé Bollo2-10/+10
Change-Id: I82d918cd14b1e368ef509fa3a1b21c3e55a6b98d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-17improves plugin interfaceJosé Bollo1-38/+89
This commit improves the names and the organisation of the plugin interface for the developpers. Change-Id: Iaf191efbf8fd5d248884304b648258f0770ec5f5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-17provides developper filesJosé Bollo4-2/+3
Change-Id: I0e41a0db778c69b5f5ce71115d495b2bb8b4cffe Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-13cleaning copyrightsJosé Bollo3-3/+3
Change-Id: I4ff7349b1a87f92a7d9f378c715054061f06df57 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-10Refactoring requests and context handlingJosé Bollo2-42/+37
Also adds a first (untested) implmentation of the afb services over dbus. Change-Id: Id1bdeccf75f3a70d3658bdaf0510d6e7b97f6c32 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-09improves namingJosé Bollo1-3/+3
Change-Id: If334a26fada7bd234a6c71bee32b7b700f85c87c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-04try to avoid unnecessary copyJosé Bollo1-2/+2
Change-Id: I98cd69133ba3babb2719fad8c7e31c4dcaf1ae97 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-04Switch to libsystemd eventsJosé Bollo2-65/+18
This patch removes part of code that are not specific in favour of a more shared library. Change-Id: I3506e7514181cfbed753559bb65460f95b2141c9 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-27first add of asynchonous handlingJosé Bollo1-0/+1
Change-Id: Id9159d33937dc23342d32892f77998fb8cef0000 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-27adds store/unstore for afb_reqJosé Bollo1-1/+17
Change-Id: If93e243378efbb6329bb9cc60d869261ddc33c48 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-19refactoring context handlingJosé Bollo2-22/+37
Change-Id: I0e5a900efbd94b66f309ff4d0d49a6406585203f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-19prepares event propagationJosé Bollo3-11/+100
Change-Id: Ib824c6dea1837cc1cbb70a2c82363c9b0a0517d4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-15use upoll for event loopJosé Bollo3-13/+14
also add '#pragma once' in headers Change-Id: I90cc2d53ec60d4d1e66cf0f229109621e4019864 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-08refactoring req interfaceJosé Bollo1-8/+19
Change-Id: I6fc9246099c34f62c82e060cf014a63b0e8f63d8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-07improves file handlingJosé Bollo1-3/+3
Change-Id: I285cb6333d939a8afed07d8388d1d7850e50fe28 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-05new main loop in placeJosé Bollo2-2/+4
Change-Id: If297e0a76e74422d456447be52cca460c9e237b3 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-05fix context valuesJosé Bollo1-1/+1
Change-Id: I8a904fe7e0e895854729ae852b63c090f6c5bb5f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-05start epoll integration by upollJosé Bollo2-8/+31
Change-Id: If137a21e6f411775446393525ad7512421d7780e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-05refactored verbosityJosé Bollo1-1/+1
Change-Id: Ibbf6645fbf1149687be9a7475773685cfb06b514 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-04work in progress, session handlingJosé Bollo2-2/+41
Change-Id: I0393346280825e24a34e8db386160d857723b841 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-02refactoring in progress (tbf)José Bollo1-0/+65
Change-Id: I090ff42572a56c1d3ed3dbeccddf195d3bc09aa3 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-01work in progress (tbf)José Bollo3-243/+19
Change-Id: I1c4b48bc56a17b7351b57c3d4da53bd89465fff4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-01work in progress (tbf)José Bollo2-54/+104
Change-Id: I01f72892530bb4ef14a7216a112812026a367bfa Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-01work in progressJosé Bollo2-40/+17
Change-Id: I3df95def03bb26ca4d1a52f7cd94b0fb67375d4c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-31refactoring (in progress, tbf)José Bollo2-14/+7
Change-Id: I8f2684a38d0894d827510d9a171ee6d5c39fb55e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-30refactoring (in progress, tbf)José Bollo1-4/+0
Change-Id: I7461983aa3177f8ae54ca72761d916e646888fca Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-30renaming of field apiJosé Bollo1-1/+1
Change-Id: I41ffc32e86e1c8c0f86fb1b06c2f8054867a9bc2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-30refactor context usageJosé Bollo1-8/+0
Change-Id: I5ba57724eac605ef6e5a134ab7d9db56d2df4a07 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-30removes uneeded dataJosé Bollo1-1/+0
Change-Id: Id95e2dcfc0a6cbf34799559be683fa9244aa82db Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-30refactoringJosé Bollo2-47/+72
Change-Id: I8dd46cf7fa57962e20e02f0fe34b3ffaa4c94f08 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-29splitting rest-api in two partsJosé Bollo1-4/+0
Change-Id: I6c1982660d60c5496b5ea0cd50fb8274e2eaf703 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23AFB_error: improves mangementJosé Bollo1-1/+1
Change-Id: I88969338623aad0cb628f97f9e9962315ae9380c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23cleanup: remove unused definitionsJosé Bollo1-25/+19
Change-Id: I6ca39422482cbb7174819a1e3cae83c56c6fb4fe Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23session: removes file handlingJosé Bollo1-0/+2
Change-Id: Ib26a93bae5ef824fc570e634cf124b364b03fced Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23several improvementsJosé Bollo1-3/+0
Change-Id: Id21bd735b7e1e24993ae93bc9f3634c0298d6f12 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23simplification of configJosé Bollo2-9/+1
Change-Id: Id81932c67aa3a0b86f70eea008f8a90455e03d77 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23moves more helpers from config to helper-apiJosé Bollo1-10/+0
Change-Id: I5bc012ebe79c0b3f6cb89ac56c994e2a9d7ed5e9 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23removes save optionJosé Bollo1-2/+0
Change-Id: I2a935739985574f9463bf25884254a4ace3b4938 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23moves helpers from config to helper-apiJosé Bollo1-34/+34
Change-Id: Iecba4a22718b76a3188986eae814c359d21bbd78 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23http-svc: renamingJosé Bollo1-3/+2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-18http-svc: work in progress proposalJosé Bollo1-2/+5
This commits is a proposal for rewriting part of the daemon. Change-Id: I2491530bc281c8fd674ee3ce01ac5b904387d7d1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-17typoJosé Bollo1-1/+1
Change-Id: Ib3c2ffb80f2401c589fa86f4cac2f4011c09bb03 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-17main: change location of AFB_options definitionJosé Bollo1-8/+0
The definition of AFB_options is not of interest other places than main.c. Change-Id: Id0af73a749554c02d7578db518e41628e2793008 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-17local-def: dispatch some definitionsJosé Bollo1-4/+0
local-def.h contains too many things. This commit is a little step for cleaning it. Change-Id: I487860f9f56adbd40cae12a3b19930bbb31c67bc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-17removed private api and fix some few warningsJosé Bollo1-7/+0
Change-Id: I8d4427c94ca2b88a4f1add70b065d0b6d0865286 Signed-off-by: José Bollo <jose.bollo@iot.bzh>