libusbgx: Add functions for get/set function attributes.
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Thu, 13 Feb 2014 12:47:37 +0000 (13:47 +0100)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 22 Dec 2015 19:35:20 +0000 (20:35 +0100)
commit42c6bc3e56b58efa1c9027cb83993b20fbda7cf7
tree5225b73437379b68e52795d1b73867615ccbec42
parent894741889e7d61fe00ac923c9602607ae17e1525
libusbgx: Add functions for get/set function attributes.

Add usbg_get_function_attrs() and usbg_get_function_type()
to aviod direct access to function structure members.

Add usbg_set_function_attrs() to allow set all function\
attributes with one call.

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