summaryrefslogtreecommitdiffstats
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-02-23refactor cookie to add #portJosé Bollo1-1/+1
Change-Id: Ieac2936413a59b80db66e9ba69d586d7fa481ef8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-15add option for signaling readynessJosé Bollo1-0/+1
Change-Id: I22e64d41f51683c6c15df77b546e3cc98f427eec Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-14adds mode managementJosé Bollo1-1/+1
Change-Id: I73240e346a06924c314961871e789c69e279cb48 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-09Adds a new option: modeJosé Bollo1-0/+2
The option mode can have 3 values: local, remote, global. It indicates wether the daemon serves: - loopback (local) - external interface (remote) - both (global) Change-Id: Ibd6c25da692e607b8e0ce793da11cca88db050a2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-08avoid use of keyword "private"José Bollo1-2/+2
Change-Id: I7efe1ce2e6a49b6211298e509ae0b21573d6776a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-08typo: minor improvementJosé Bollo1-2/+2
Change-Id: Iaf16a80d3fcb8887260f351448c68fd91c9387fe Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-08removes unused smack fieldJosé Bollo1-1/+0
Change-Id: I3388fa366c44c96d2ebf37ba57ed1b3acce82869 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-01-26GetPostPath OngoingFulup Ar Foll1-0/+1
2015-12-30Added EmptyPost handlingFulup Ar Foll1-1/+1
2015-12-24Fixed Client Session Context by PluginFulup Ar Foll1-1/+1
2015-12-23Implement --ldpaths=dir1:dir2:dir...Fulup Ar Foll1-1/+2
2015-12-23Add plugin handle into request, pass it to free callbackManuel Bachmann1-2/+3
We need the global handle in requests, and in the free function. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-22New Session Model [compile but not tested]Fulup Ar Foll2-8/+9
2015-12-22Does not compileFulup Ar Foll2-7/+7
2015-12-22Improve plugin logic, pass plugins count to sessionManuel Bachmann1-0/+1
We now pre-reserve for 20 plugins (arbitrary for now, we downsize if necessary). Plugins count is now passed to the session in the "pluginCount" variable. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-21improved use of const qualifierJosé Bollo1-1/+1
Change-Id: I371bfb6fdbaec91c14c0f3e2f2a45952252f8e27
2015-12-21Export getFileUpload to helper-api.cFulup Ar Foll1-1/+2
2015-12-21Hack --plugins=pathFulup Ar Foll2-5/+13
2015-12-21Switch to a plugin modelManuel Bachmann1-5/+1
Each API now compiles to a ".so" file, which gets searched for in the "${libdir}/afb" directory at startup. We can now load an arbitrary number of plugins (> 10). Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-21Untie Radio and Audio APIsManuel Bachmann1-1/+3
Radio and Audio API functions do not cross-call themselves directly anymore ; this is necessary to have independent plugin binaries (.so) in the near future. (PS : audio buffer securization is WIP) Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-21Post File Working in Most casesFulup Ar Foll1-0/+2
2015-12-17Final modifications for Radio-Audio API communicationManuel Bachmann1-0/+4
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-16Initial Audio pluginManuel Bachmann1-3/+2
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-16Fix plugins loading, cleanup and dispatch Radio API codeManuel Bachmann1-2/+3
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-16Add Middleware and change Hashtable technoFulup Ar Foll2-3/+8
2015-12-15Post En court Ne fonctionne pasFulup Ar Foll1-7/+7
2015-12-15Intermediary Version Does not CompileFulup Ar Foll2-10/+30
2015-12-14Post En court Ne fonctionne pasFulup Ar Foll1-1/+1
2015-12-14Integrated Post for Fileupload TestFulup Ar Foll1-1/+3
2015-12-13Fixed Session Context Free with ctxFreeCBFulup Ar Foll2-24/+22
2015-12-12Added --token=xxxxx for initial shared secretFulup Ar Foll1-1/+1
2015-12-12Fixed Plugin.private bug, added "no session mode" fixed plugin APIFulup Ar Foll2-12/+15
2015-12-12Added Session ManagementFulup Ar Foll2-33/+74