Add vfail and vsuccess interfaces
authorJosé Bollo <jose.bollo@iot.bzh>
Mon, 29 May 2017 13:54:30 +0000 (15:54 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Mon, 29 May 2017 13:54:30 +0000 (15:54 +0200)
commitdb01090e1f869965c07b12d9480fa6f3d2e7b1b0
tree523e4b00bf591c56f671b5b610f6284b8ce64fbd
parent6f1126ae2c585afc34d0bb06f3763e3a82ee3d37
Add vfail and vsuccess interfaces

This now factorizes code needed to asprintf
the arguments in an allocated string.

But the most interesting effect is the ability
to handle va_list of arguments. It can be used
for library of tools.

Change-Id: I4ba74c9984786f07abe0c7e53d7ef79dca863735
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
include/afb/afb-daemon-common.h
include/afb/afb-req-itf.h
include/afb/afb-service-v2.h
src/afb-api-dbus.c
src/afb-api-so-v1.c
src/afb-api-so-v2.c
src/afb-ditf.c
src/afb-xreq.c