Age | Commit message (Collapse) | Author | Files | Lines |
|
Enforce monitor API to be a kind of standard binding.
Change-Id: I4739f879d5e076eb3505f5fe2cf658e6f9299de6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I14caa33d2abad26bf244e93f7efe93206c6c50da
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Also make correct strings
Change-Id: Iac63fb8202c115458910ca1ec42fbca9872df9f8
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This adds a tiny generator of skeleton for bindings
version 2. This is a research work.
Change-Id: Id72f6addfd18ebb866e3b609bb49e74ee676b83d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
this is a draft version to be continued.
Change-Id: I1062a6f872a2b36d4e0434fb18d1857961d50aab
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
this is intended for introspection
Change-Id: I2518893c8cb04295159c3646f1286ffd30f739e0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Having a part not linked to an existing opened shared library
might be useful for internal APIS.
Change-Id: I56348f07c87f6844682e3ea56dc07d7ee296bfbf
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: If2acee2fa6469cbfb6c2d11eb1e3fd622b093155
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I476ab17bb5c48dbb3cd6c215687989203407549f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I39287c5b5bba8b3ec18dc36e58a0d0102c5b48d6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I7678412374565fd5802b0312e5808e2645df3728
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Iefda7f9d8f979a50fb2586a27edf0ca16d056a1f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Also improve interface of apiset.
Change-Id: I3c256ce1ecb089f0b518e45f0dee139c04943f2e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Use the common function 'afb_api_is_valid_name'
instead of 'afb_apiset_valid_name'.
Change-Id: I2d761473d4aa1cd90adf1b7a2c1976e727b437fc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I590bf289ce597531622dc95bb00df11e0a8bdbb6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The file afb-stub-ws only carries the protocol
of the internal remote calling conventions.
It as the following benefits:
- it easies transition to symetric connection (not planned)
- it allows to have server stub on client socket and
conversely, client stub on server socket (planned for
debugging).
Change-Id: I57dc8e78d7bd63427421a180abcb844f8313d37b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
unix sockets named "unix:@something" are now treated
as abstract sockets.
Change-Id: Ieb2bb9dd1c7b420b9e3fae81590ef49c32f63802
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I9492288de61b79074db38818c459f7447b12b4e6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This will be used at the end for debugging
facilities.
Change-Id: I75e3345667e1f58143c77a885e166375680ca194
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This modification make subcalls pushed back to
the client that will issue it for itself. This
will at the end ensure the security context of
the client.
Change-Id: Ib4bb5125ffe1b942103b72d1a3d13892dda87baa
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ia1df54bfd139f247137f4373a2cbd75dcf74efc8
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I37ff13a34c780ab00fb43e0a4daeda45db821c00
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This commit adds a protocol header for inter binder
communication in the direction client->server.
It also changes how data buffer is handled.
Change-Id: I1eb4253408ddd4c8042773da541d27046e90f715
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Remove unused functions
Change-Id: Ie767469a3e721aba5d9d27ab318a1d316553b2cb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
quality improvement
Change-Id: I1d8fda1ec48bb9d3c6eb2ee88b579cfcf8dcc5fb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
It comes from the use of this module that it can
be simplified to only get 1 argument. It reduces
either the complexity of the code and the time spent
in job management.
It optimise how normal jobs are called (not intermediate
function).
Also factorisation and simplification of synchronous
enter/call.
Change-Id: Id60dd2363fee2b007b4557430659faf733d2179d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I625dd517912461bb55f298a11a5eb37adc92293b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This will allow soon to check the credentials when
evaluating calls.
Change-Id: I993216ccbc02538dcd92e49fcb2de0541eeb8c01
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I83473a69d8af4d39d1ef7eba9c324a6bbb0364fc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Reduce the count of memory read
Change-Id: Ie4dfa4bd30d6485be91961196294c43ffbd3b2a9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Credentials are computed if possible.
Change-Id: I36c7e95a35431b27109c26b51eab690d685862e1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I9c76ab3043506778640cb379e8f006674f8a8fcf
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ia8a7a1471f004933a48797b91c01fd8b53465de0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ib3654ac8125b040f8264524e7c821a6559f627cd
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I7a445c73a9bb6b39c3ba5e19422f5bcc319364fe
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The option -c (aka --call) allows to specify calls
to api/verb at startup. The calls are made sequentially.
Change-Id: I7f087dce71480fe288cca355c209a4c8ccf4f4b9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This changes makes many improvement needed
for multi-threading:
- json object can't be shared across threads
because get/set is not protected
- event are now multithread compatible
Change-Id: Id44b12c68e0fa67042b8ea44939af4edfa76270a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I81deb974460e7f3edbccf132efeac87f873d78dd
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ie5209f74ea1a65571a3ec54724131f15d22ca35f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
When not specified, the default directories are
now ".". The workdir is relative to the current directory
and other directories are relative the the workdir.
Change-Id: I52c013e3a3c93b3f984903562cf0c56d990900e6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I0077f77984accdd1f07d0e7c1526720f687ec58e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Provision daemon features:
- SIGTERM for terminating
- SIGHUP for config reload
Change-Id: Id45a0b963812105c22ead5a0a2004f3f531a2a65
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Allows the client to tell websocket module to not
loop on messages.
Change-Id: Iaa1025ce5442a5659554ba66fcc5869a1e8659b4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The new interface has increased functionnality,
it allows to set debug flags by API.
Change-Id: Ibd35fb02ed645e22cac8e7021b37b96e07e79877
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I5840609f4300ade98412e8527ac5ce1f1e8c0c59
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Add ability to discuss directly with systemd journal.
Add report of functions name when logging.
Change-Id: Ia7c5836e387b621b47e3700a7abca40bc0e481c8
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I0c03b2c8ce556f1e6987ee5a7ad355ba9e67f142
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I0fc8429063d99e10344aaadba06480a470b9eb9d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I9da7f17f93f1948da23f6a2304f0718d7bee6464
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ib7e31b50a725c73e6eaba414c6628524fbcd84f9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|