X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api.h;h=dd5d4e0cfce1b4fd5332c38e80240ddae8f7d202;hb=c12c74c208a30c5b18716b8faa464f0b4f643255;hp=6dfbf020180b35dd2b4dc5c44075bcc020feb63e;hpb=a8e971702f23ee67e02b4716ad4159f12cefdca6;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api.h b/src/afb-api.h index 6dfbf020..dd5d4e0c 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,12 +28,14 @@ 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 { void *closure; struct afb_api_itf *itf; + const void *group; }; extern int afb_api_is_valid_name(const char *name);