Age | Commit message (Collapse) | Author | Files | Lines |
|
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: 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>
|
|
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: I176f5647512f50dce50d6db2de6204b5bc6e4d52
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ic9e118df2bede1fefbb591f8ae7887266b7324ca
Signed-off-by: José Bollo <jose.bollo@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>
|
|
Change-Id: I1f286597a8d5d97ab9c9cfcefa1b3a13eccd6d3e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I0768fa05de116f621dbb6e630dba3024e0886c6d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Adds the ability for a service to initiate calls
to other services and to receive events in its own
context.
Change-Id: I5ff149a0231e551e9ce8a8de9658cb492a38cae1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I9f766c4b880cc741392e5c33b58a2723b5a6f4ef
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ibc3412c5a5dd50c23a7b035941d4aed278b62039
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ie4bc15448203621d0f84c9be6f57c68cc88983b4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I27411163aff0ecedad4019094f4a5c46d5a2c342
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I5f400a92165bb380ec5f703dd8ca567e90aebca2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The new request call 'afb_req_subcall' allows
a binding to call the method of an other binding.
Change-Id: I8538185be7a1663153a25db2bc940f9e2bdedb1a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This new version allows to subscribe a client for
an event.
The event should first be created for the API
(the API's prefix is added) using 'afb_daemon_make_event'.
After that, plugins can subscribe or unsubscribe their
clients (identified through requests) to the events that
it generates. See 'afb_req_subscribe' and 'afb_req_unsubscribe'.
Events created by 'afb_daemon_make_event' can be widely
broadcasted using 'afb_event_broadcast' or pushed only to
suscribers using 'afb_event_push'.
Events can be destroyed using 'afb_event_drop'.
Change-Id: I7c0bed5e625c2052dcd81c6bfe960def1fa032f3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I7af7b96d2f32b706eb378747c3719fa48f68c961
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I55e597a7c7cea295993326a6c4b362a136c05e4e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ifde5ff73cd6a73715fd4d6fd58101d9e97a3bef4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I843dba1d07396ddcfb35b010e7e3a9a9ac73c143
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
Change-Id: I0f1a3ea3099b6b4e5485efa927c98c316ae6d195
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I6ff93946990400a6e900d6d6916e2b68af92fbcc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Also remove a old cmakefile
Change-Id: I2748514934790043a15bb48d1d06bd82967d4494
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I36c6c6cbc62217ff0d79e004d9b40aa77e3fa0f4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I4257210371c4b809e93c174e00677a82c4b196c7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I8046c738a7c4fd367d2d7ae6e8fe6fc84054dc06
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I45735ccb4204821caecf89e3fdce08ec0a2471d7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I5507aeaf7669123eee16007af3d2fd3faeba8141
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ieb839f287593240aac4d784483ff4c6e6cb57d84
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This library is intended to be used by C clients to connect
to the binder and access to its fetures through the websocket.
An example of integration is given by afb-client-demo.c
It is known that it introduces an unwanted dependency to afb-common.
This is a temporary issue.
Change-Id: Ie0a395f116f6ee05679525a6399ef23ef245c944
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I426013cb841d6826c4904f68bf5fa1c653dd972c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ia2e27fa2661b539e67e388a7e9f3fc1555281bd7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I0cf860c42046dd3819416688db24a2cd51c3f3aa
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I6ddde79307b40c33ffd0208fe72ef84626c47cac
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The implementations of afb_req_get were not the same
for HTTP and WebSocket when the argument wasn't set.
Change-Id: I2f09376f597ee75a50b06423a19823040a9352e6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I32689b3de32f5c85b461edcb63ef4d0117ff9ecb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I3de30aeb90a41ed8ee63ec1e19c6032440d65574
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I1a03b99aa24bac7f801f94cfa0c8fd1cf28107e6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|