libusbgx: Return usbg_error instead of -1 in usbg_*_len().
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Wed, 26 Feb 2014 14:04:15 +0000 (15:04 +0100)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 22 Dec 2015 19:35:21 +0000 (20:35 +0100)
commit1811d48921c92f939d534fe99e9aba11774aed53
treeb178a40c47ce13532f8db9bf57bc3131824590f3
parent97c6c58b878c3c5c253e5862691d65135e865679
libusbgx: Return usbg_error instead of -1 in usbg_*_len().

Functions which provides user length of some internal
strings should return usbg_error instead of -1.

Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
[Port from libusbg and update description]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
include/usbg/usbg.h
src/usbg.c