usb_moded  0.86.0+mer57
usb_moded-configfs.h
Go to the documentation of this file.
1 
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 
37 bool configfs_in_use (void);
38 bool configfs_set_udc (bool enable);
39 bool configfs_init (void);
40 void configfs_quit (void);
41 bool configfs_set_charging_mode (void);
42 bool configfs_set_productid (const char *id);
43 bool configfs_set_vendorid (const char *id);
44 bool configfs_set_function (const char *functions);
45 bool configfs_add_mass_storage_lun (int lun);
46 bool configfs_remove_mass_storage_lun(int lun);
47 bool configfs_set_mass_storage_attr (int lun, const char *attr, const char *value);
48 
49 #endif /* USB_MODED_CONFIGFS_H_ */
configfs_init
bool configfs_init(void)
Definition: usb_moded-configfs.c:759
configfs_quit
void configfs_quit(void)
Definition: usb_moded-configfs.c:819