diff options
author | José Bollo <jose.bollo@iot.bzh> | 2019-03-19 23:21:35 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2019-03-22 17:03:00 +0100 |
commit | 8b1685b5b726d98d50e83acf04279d4a9ccb2eeb (patch) | |
tree | c8984dc47cdb306f618aba446cac1d847106fa79 /src/afm-udb.h | |
parent | 61327e938cab27c6ce54f4324ba8144d39b24bee (diff) |
Add ability to manage all widget/applicationsflounder
For system uses -like automatic testing-, it is
needed to include tha ability to list ALL installed
widgets and ALL running instance of installed
widgets.
This change adds the option -a or --all to the
commands 'list' and 'runners' for the purpose
of listing any installed widgets, even those
requiring to be hidden.
Example: afm-util ps -a
Bug-AGL: SPEC-2272
Bug-AGL: SPEC-1850
Change-Id: I216ec9c63efea1b3af58e1d2d7723d986e04551e
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afm-udb.h')
-rw-r--r-- | src/afm-udb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afm-udb.h b/src/afm-udb.h index 810c295..90775fe 100644 --- a/src/afm-udb.h +++ b/src/afm-udb.h @@ -24,8 +24,8 @@ extern void afm_udb_addref(struct afm_udb *afdb); extern void afm_udb_unref(struct afm_udb *afdb); extern int afm_udb_update(struct afm_udb *afdb); extern void afm_udb_set_default_lang(const char *lang); -extern struct json_object *afm_udb_applications_private(struct afm_udb *afdb, int uid); +extern struct json_object *afm_udb_applications_private(struct afm_udb *afdb, int all, int uid); extern struct json_object *afm_udb_get_application_private(struct afm_udb *afdb, const char *id, int uid); -extern struct json_object *afm_udb_applications_public(struct afm_udb *afdb, int uid, const char *lang); +extern struct json_object *afm_udb_applications_public(struct afm_udb *afdb, int all, int uid, const char *lang); extern struct json_object *afm_udb_get_application_public(struct afm_udb *afdb, const char *id, int uid, const char *lang); |