usb_moded 0.86.0+mer64
usb_moded-configfs.h
Go to the documentation of this file.
1
23
24#ifndef USB_MODED_CONFIGFS_H_
25# define USB_MODED_CONFIGFS_H_
26
27# include <stdbool.h>
28
29/* ========================================================================= *
30 * Prototypes
31 * ========================================================================= */
32
33/* ------------------------------------------------------------------------- *
34 * CONFIGFS
35 * ------------------------------------------------------------------------- */
36
37bool configfs_in_use (void);
38bool configfs_set_udc (bool enable);
39bool configfs_init (void);
40void configfs_quit (void);
41bool configfs_set_charging_mode (void);
42bool configfs_set_productid (const char *id);
43bool configfs_set_vendorid (const char *id);
44bool configfs_set_function (const char *functions);
45bool configfs_add_mass_storage_lun (int lun);
46bool configfs_remove_mass_storage_lun(int lun);
47bool configfs_set_mass_storage_attr (int lun, const char *attr, const char *value);
48
49#endif /* USB_MODED_CONFIGFS_H_ */
void configfs_quit(void)
bool configfs_init(void)