1. NAME▲

struct_usb_string - wraps a C string and its USB id

2. SYNOPSIS ▲



 
Sélectionnez
struct usb_string {
  u8 id;
  const char * s;
};

3. MEMBERS ▲

id
    the (nonzero) ID for this string

s
    the string, in UTF-8 encoding

4. DESCRIPTION ▲

If youAqre using usb_gadget_get_string, use this to wrap a string together with its ID.

5. AUTHOR ▲

David Brownell <>
    Author.

6. COPYRIGHT ▲