afb-api: add a 'describe' function
[src/app-framework-binder.git] / src / afb-api.h
index 6dfbf02..c8cb2d6 100644 (file)
@@ -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