aboutsummaryrefslogtreecommitdiffstats
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2016-05-29remove event sender interfaceJosé Bollo2-50/+8
Change-Id: I45735ccb4204821caecf89e3fdce08ec0a2471d7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27improves documentationJosé Bollo2-0/+20
Change-Id: Ia86f95ee852ca0cc419b2fe6e796621e358c8b29 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27improves documentationJosé Bollo1-5/+16
Change-Id: Idbd1b735571c2e35daed23d43f8d5d3990881533 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27terminology: Level Of AssuranceJosé Bollo2-4/+4
Change-Id: I3c92aab34ba9414faf19d9a96d8f1de786f1e7b6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27allows to remove file/line indicationJosé Bollo1-5/+14
Change-Id: I800dfdc68dc4538b2c46367a8594d7ac6a36824d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27improves detection of formatting errorJosé Bollo1-0/+1
Change-Id: I426013cb841d6826c4904f68bf5fa1c653dd972c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24Comments and fix of afb_req_unstoreJosé Bollo1-56/+170
Change-Id: I64e3a1769a225041a998b1b9406a5ebe1a7f19d7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24add log macros for pluginsJosé Bollo1-0/+23
Change-Id: I3de30aeb90a41ed8ee63ec1e19c6032440d65574 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
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>