Age | Commit message (Collapse) | Author | Files | Lines |
|
This implementation handles all requests with threads.
Later implementation could add a mechanism to choose
what request will be handled by threads.
Each API receive its requests in serial order without
reentrancy. Here again, this can change in the future
if a choice is possible to allow reentrant calls.
The signal/event are not processed using threads
in this version. It may change in the future.
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Needed for _Thread_local keyword
Change-Id: Ia68b2d25fd747b87d95a94ac383c0107b276cf2f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Id95c612de55fe5606be945ac74c2c157620c8839
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I0acc567bab126c6e8fef10b294eb0e362222ce5c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
- improves formatting of the documentation on events
- add documentations of functions in headers
Change-Id: Ie39d34fca8bd563a099f6b575c72e314ca08a29d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I849c615c4ff8d08ab170ca22c7d9038706099ff6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I8f220d7508d939a16eba956ab1fdf975f4048332
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The default action is to stop the daemon.
This is not the intended behaviour because the
sriting errors are checked and EPIPE is treated.
Change-Id: I9132b683e443825e4c056301a89bfad752a99e0c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I5a48bff9b1ce50adb48884ad15a9cfc7bd7a066d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: If325537e36a8db1a3f082fa211d619de7ddd478c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This option tells to the HTTP part of the binder the location
of the root directory for HTTP.
Change-Id: I080adcaaee952e375128eff3898f29332939c5f5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The two new verbs 'afb_daemon_rootdir_get_fd' and
'afb_daemon_rootdir_open_locale' allow the bindings to retrieve
its installed global data.
Change-Id: I369997d9e59402a413a929aa650c48613f034183
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I470da7df049abab589d2c4044740cd54de0d35b4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This prepare further use of locale_root
here and ther in the code.
Change-Id: I473e8de79db1cbd69b507f6e0e70733f0f02badc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Id2758e83b59d6d8617e7f58635127fc436c9be5a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I2f7daf847f59a450fafa5d7edf5f5984fdc15481
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I7de05d2acd02d088a3a2034ad8bccf524b5b6c12
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ie4355db29b157b13c4d93011337b15ca3e5d2571
|
|
Change-Id: I6b820e7ab169897259414276eaa0b1f8847d9229
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This function is usefull to ensure that links to otherfile
are epanded to directory/otherfile (not directoryotherfile!)
Change-Id: If8ad1c275598b322516c41706b464d5d90067a8e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ia60b50b1e4f859c2ee69919d5f63349af40865b6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I7ad19eeb73c613893682824d6becc500277d01d6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I7e39d4ce7c0f83e3398f344ade7e5114cf203efb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Id90d53764016abc16db6f4d4fb68b9e16ba492fb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I895901fb5af2811d79a96aa0baa7981a5c9f9b3a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I56f4f6aebe673363c8b07c55f68ebbb1362b04fc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I8183da55b6afb0e2d3035ebe8cf371b181ec4257
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I34a4444c1fe8b9fa81c5319f53d154d6fe93916c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ia78621ca4d3298fd45f3486ee64c3785c8ab6d8d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: If7f3a2b9a724f28dbd3e4968347892d837ba875d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I6d63d70d30f02422e5f9904722e89f92358186b9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I75692e7454ec9a863ef72c2bd35e3a8ff0f4c57d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I441624cf07fc783f54d1bc9613fee5f9b842e140
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: If91c5a49e1141d65b2927df708193c5cd38b3b56
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ie7ebccb02b42e91457df3bdbf2a6f037b248400e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The use of the event loop where previously hidden
in internal deep places of the websocket modules.
This commits enforce the client of the library to
explicitely tell what event loop must be used.
This has 3 effects:
- you know that the systemd event loop is used
- you tell the event loop to use (no confusion)
- you don't depend on afb-common.c
Change-Id: Id13d8a96f981183c299cde414d9bb0cd77fe3daa
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I354649f885daf89426f3b1612127045fdf1dedcc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
afb-common.* files are not public and so not distributed
in any development package. This makes difficult to create
a client with sources out-of-tree.
Change-Id: Ib2edd48f864f55821ab590442efdf6d1e2fdcd58
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
Change-Id: I1901070c94c3ca7e07b167d7c769d111b02cbd64
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Idb1ae01484d1181904e91d57abafe7bdb8230179
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I176f5647512f50dce50d6db2de6204b5bc6e4d52
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I72b62751fdbeaea3847312c62779fd0bd0ecb3ea
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ic9e118df2bede1fefbb591f8ae7887266b7324ca
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ifc281223617eb049e485bcd27233509b459eb3b5
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
Change-Id: I0d58bed66ebc9eaea63c0863351d03cf458e4198
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I1976848be0e8aeb170da37e1254208035e0e741a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I6c3e855030af9064335028e51d10c41db85a3f3c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ice4620cabc5a8643551439a149e80df255438020
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|