diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-12-18 12:26:41 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2018-01-19 10:08:08 +0100 |
commit | bd910c758e234e165f6a3239c14e77f53d1fc480 (patch) | |
tree | ef4a6ac3bf3e9eb84ccce958b0b0376a2b48935e /src/afm-urun.h | |
parent | 66817a088f7b3ccd85117bfe6a610710a728ef09 (diff) |
afm-binding: Allow use of appid instead of runid
This facility avoid the double call 'ps', 'kill' and
allow a single call to 'kill' with the application id.
Bug-AGL: SPEC-1189
Change-Id: I71861c06847e855b05dc8294ab1ea6785f555416
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afm-urun.h')
-rw-r--r-- | src/afm-urun.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afm-urun.h b/src/afm-urun.h index 178edf9..3914aec 100644 --- a/src/afm-urun.h +++ b/src/afm-urun.h @@ -25,4 +25,5 @@ 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_state(struct afm_udb *db, int runid, int uid); +extern int afm_urun_search_runid(struct afm_udb *db, const char *id, int uid); |