afm-binding: Simplify helpers
authorJose Bollo <jose.bollo@iot.bzh>
Fri, 3 Jan 2020 11:25:48 +0000 (12:25 +0100)
committerJose Bollo <jose.bollo@iot.bzh>
Mon, 9 Mar 2020 09:43:49 +0000 (10:43 +0100)
commit9a0d792982ae637dd32e6939724441fe1b5fb47d
tree6dfeb979f6612c40b8e19ffe23a22a37b10f1303
parent956e7c57d15bde67d7392aab01a9c0fc6906bbd4
afm-binding: Simplify helpers

The helper functions onappid and onrunid are changed to
use the afb_req_get_called_verb instead of receiving the
method.

Bug-AGL: SPEC-3085

Change-Id: I1acea98e1d254553f260cd69b9c61cee70edce97
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
src/afm-binding.c