summaryrefslogtreecommitdiff
path: root/src/core/service.h
diff options
context:
space:
mode:
authorPawel Szewczyk <p.szewczyk@samsung.com>2015-09-04 12:23:51 +0200
committerPawel Szewczyk <p.szewczyk@samsung.com>2015-09-22 16:32:16 +0200
commit6b7e59231014b94636f4a1b730143fbe6f60c3f4 (patch)
tree56638d1c47a56d87935aba6ef52d2b560670a435 /src/core/service.h
parent602524469ecd7db0e0d5a71ecd1dce34f7a108b6 (diff)
core: Add FFSDescriptors and FFSStrings service parameters
By using these parameters functionfs service can specify ffs descriptors and strings which should be written to ep0.
Diffstat (limited to 'src/core/service.h')
-rw-r--r--src/core/service.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/service.h b/src/core/service.h
index 7da0a93961..789dff23a9 100644
--- a/src/core/service.h
+++ b/src/core/service.h
@@ -212,6 +212,9 @@ struct Service {
ServiceFDStore *fd_store;
unsigned n_fd_store;
unsigned n_fd_store_max;
+
+ char *usb_function_descriptors;
+ char *usb_function_strings;
};
extern const UnitVTable service_vtable;