diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-04-21 19:02:41 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-04-21 19:02:41 +0200 |
commit | d597a7dd81bbb83a0442345c547b3317839994cf (patch) | |
tree | c54cb57d0a2166a111ed45e75abe837f296a3a81 /src/afb-api.h | |
parent | a289811d452020de3aa03cd2d9c1d21e4386c241 (diff) |
afb-api: add a 'describe' function
this is intended for introspection
Change-Id: I2518893c8cb04295159c3646f1286ffd30f739e0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-api.h')
-rw-r--r-- | src/afb-api.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afb-api.h b/src/afb-api.h index 6dfbf020..c8cb2d65 100644 --- a/src/afb-api.h +++ b/src/afb-api.h @@ -19,6 +19,7 @@ struct afb_xreq; struct afb_apiset; +struct json_object; struct afb_api_itf { @@ -27,6 +28,7 @@ struct afb_api_itf void (*update_hooks)(void *closure); int (*get_verbosity)(void *closure); void (*set_verbosity)(void *closure, int level); + struct json_object *(*describe)(void *closure); }; struct afb_api |