diff options
author | 2019-03-19 23:21:35 +0100 | |
---|---|---|
committer | 2019-03-21 10:47:35 +0100 | |
commit | 3476b426fb3443ff909f8d607934e59601c7d508 (patch) | |
tree | 257358db2fca1b6b44b76868035a5783a597ee55 /src/afm-urun.h | |
parent | 2a319cf90daa6e3b01e8139923f7073e1c9bcf28 (diff) |
Add ability to manage all widget/applications
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-urun.h')
-rw-r--r-- | src/afm-urun.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afm-urun.h b/src/afm-urun.h index e584688..4579015 100644 --- a/src/afm-urun.h +++ b/src/afm-urun.h @@ -23,7 +23,7 @@ extern int afm_urun_once(struct json_object *appli, int uid); extern int afm_urun_terminate(int runid, int uid); extern int afm_urun_pause(int runid, int uid); extern int afm_urun_resume(int runid, int uid); -extern struct json_object *afm_urun_list(struct afm_udb *db, int uid); +extern struct json_object *afm_urun_list(struct afm_udb *db, int all, int uid); extern struct json_object *afm_urun_state(struct afm_udb *db, int runid, int uid); extern int afm_urun_search_runid(struct afm_udb *db, const char *id, int uid); |