summaryrefslogtreecommitdiffstats
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
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
2015-12-11Add Radio API pluginManuel Bachmann1-0/+1
Add Radio API plugin source code, build with CMake. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-10Fix Json Message StructureFulup Ar Foll2-2/+9
2015-12-10Add CMake build files (required by Yocto build process)Manuel Bachmann1-1/+3
We now can use CMake by doing : $ mkdir build $ cd build $ cmake .. $ make $ make install Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-09fix a bug on by default indexFulup Ar Foll1-0/+1
2015-12-09Implemented --alias and made timeout reentrantFulup Ar Foll1-0/+13
2015-12-09Added POST, Plugin API signal protection, refactor HTML5 rewriteFulup Ar Foll2-4/+16
2015-12-07Almost workingFulup Ar Foll2-13/+26
2015-12-06My initial commit messageFulup Ar Foll2-0/+213