aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-api.h
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2019-11-04 17:57:23 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2019-11-29 12:48:17 +0100
commitb55f3cd48507105e85894be89557787eccfbe22f (patch)
tree337b771a460688087c622e3b27c43c0b5a77a233 /src/afb-api.h
parenteaf5670e9d10b5d7c066043e7563706cf1e01bd5 (diff)
afb-stub-ws: Enforce asynchronous describe
Because remote apis describe themselves asynchronousely, it is better to have asynchronous describe api. Bug-AGL: SPEC-2968 Change-Id: I52b4dab697f229ad01ea2b73d6b8dee22d507912 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-api.h')
-rw-r--r--src/afb-api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-api.h b/src/afb-api.h
index d55970c9..1f2a4a98 100644
--- a/src/afb-api.h
+++ b/src/afb-api.h
@@ -30,7 +30,7 @@ struct afb_api_itf
#endif
int (*get_logmask)(void *closure);
void (*set_logmask)(void *closure, int level);
- struct json_object *(*describe)(void *closure);
+ void (*describe)(void *closure, void (*describecb)(void *, struct json_object *), void *clocb);
void (*unref)(void *closure);
};