RFC API: do not use pairs in results
Using a struct makes it more portable for C,
and we avoid some first/second which nobody ever
understand/remeber the meaning
Signed-off-by: Luca Fulchir <luker@fenrirproject.org>
Using a struct makes it more portable for C,
and we avoid some first/second which nobody ever
understand/remeber the meaning
Signed-off-by: Luca Fulchir <luker@fenrirproject.org>