1
0
Fork 0
mirror of https://github.com/linux-usb-gadgets/libusbgx.git synced 2025-07-23 16:25:34 +03:00
libusbgx/examples
Krzysztof Opasiak 2a0e2bc756 libusbgx: Add functions to set all strs and attrs with one call.
Rename usbg_create_gadget() to usbg_create_vid_pid().
dd usbg_create_gadget() to allow gadget creation
with given attributes and strings. Add usbg_set_gadget_attrs()
which allow to set all attributes with one call. Add
usbg_set_gadget_strs() which allow to set all strings with
one call.

Gadget structure creation and initialization has been moved to
usbg_create_empty_gadget() to avoid copy-paste same code in
usbg_create_gadget_vid_pid() and usbg_create_gadget().

Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
[Port from libusbg and update description]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2015-12-22 20:35:20 +01:00
..
gadget-acm-ecm.c libusbgx: Add functions to set all strs and attrs with one call. 2015-12-22 20:35:20 +01:00
Makefile.am Fork from libusbg project 2015-12-22 20:33:32 +01:00
show-gadgets.c libusbgx: Separate gadget strings from gadget. 2015-12-22 20:33:56 +01:00