On Fri, Aug 16, 2019 at 12:39:30PM +0200, Peter Krempa wrote:
Return the parsed storage source via an pointer in arguments and
return
an integer from the function. Describe the semantics with a comment for
the function and adjust callers to the new semantics.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/util/virstoragefile.c | 43 ++++++++++++++++++++++++---------------
src/util/virstoragefile.h | 3 ++-
tests/qemublocktest.c | 3 ++-
tests/virstoragetest.c | 2 +-
4 files changed, 32 insertions(+), 19 deletions(-)