aboutsummaryrefslogtreecommitdiffstats
path: root/ctl-lib/ctl-config.h
AgeCommit message (Collapse)AuthorFilesLines
2018-06-29WIP Began the doxygen documentation works.sandbox/claneys/docsRomain Forlot1-7/+52
Change-Id: I19df4c738249bfdb3986e5420e606b6c7824acad Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-06-29Ability to add a plugin after the initial loadRomain Forlot1-0/+1
Plugins normally lie in a dedicated section and loaded once for all. With this function we are able to load a plugin after the initial load. Change-Id: Iebacdfce836767089f164ebe5cff72c7e45803be Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-06-29Be able to dispatch required api at the wanted timeRomain Forlot1-0/+1
Separate the require api step from ConfigExec and if called from anywhere but CtlConfigExec function, take care that not already initialized or that the previous has failed, so this is a new try. Change-Id: Ic98ef09487f7f58c1b1cb6c417eba261a5a81b13 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-06-29Handle more metadata in the controller.Jonathan Aillet1-2/+4
Add fields that will be searched for during controller metadata section parsing. These fields are optional, so they will be copied in CtlConfigT if they are present. Otherwise, no error will be raised. The added fields are : - 'author' which should contain the author name of the configuration file. - 'date' which should contain the date of the configuration file last modification. Change-Id: Iab480533d85c4a52ea5f6a70fb6f9b8d0b866af4 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-06-29Add an external field to CtlConfigTJonathan Aillet1-0/+1
Add an external field to CtlConfigT to store external data (by casting to void *). Change-Id: I368319f4cde6dc0409b5672809cc19a08e43dd67 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-05-18First doxygen!Romain Forlot1-0/+12
Change-Id: Ia0473294d305a49d34c60cfb076bf339c4242f76 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-05-17Detect failure at OnLoad action callsRomain Forlot1-1/+1
Be able to detect that an action has failed on an Onload section processing to avoid retrieving a wrong context after that. Change-Id: If694b11eb0a37154b539c421e43bebdb15d498c0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-05-14FormatRomain Forlot1-19/+19
Change-Id: Ied901f39cd6814e5afd9811248b0a1fb401f3e76 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-05-11Loads l2c functions per plugin.Romain Forlot1-12/+5
L2C functions are prefixed with either the chosen prefix or plugin uid by default. Change-Id: Id296ec629c803ab06cd05f5278fed3c48cbcf10e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-05-11Improve way to loading an actionRomain Forlot1-0/+4
Split and cleaner function that load from JSON object an object CtlActionT that could be used by the controller. Also use a new syntax that reduce the number of JSON fields to parse based on a URI syntax. Change-Id: Iabc447368ca56e3a4279fb728ba2f546e11c961b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-18Make public ConfigSearch functionRomain Forlot1-0/+1
Change-Id: I6da8b9d463ef9adc604bc59285189e45dfb63a7a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-14Get back on track l2c functions.Romain Forlot1-0/+5
Change-Id: I8425f0de60a35b4e287c8829fe72cbca80bc55df Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-24Correctly export symbols for C++eel_4.99.3eel/4.99.34.99.3Romain Forlot1-2/+7
Change-Id: I87eb6b5cc7208caaabbc3c2f3b6636d600c60370 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-10-26Avoid duplicated _GNU_SOURCE definition warningRomain Forlot1-0/+2
Change-Id: I2b805a60b67db1a72b429093256999673e2c3964 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-10-25FormatingRomain Forlot1-9/+9
Change-Id: I2b805a60b67db1a72b429093256999673e2c3964 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-10-25Add action method to execute an action from its uidRomain Forlot1-0/+1
Change-Id: Ic8f1d418db228ca8c646263b32a2431931a6a4be Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-10-24First working version as submoduleFulup Ar Foll1-2/+2
2017-10-181st V2/pre-V3 versionfulup1-43/+44
2017-09-29Remove NetbeansFulup Ar Foll1-0/+113