usb_moded  0.86.0+mer57
usb_moded-config.h
Go to the documentation of this file.
1 
33 #ifndef USB_MODED_CONFIG_H_
34 # define USB_MODED_CONFIG_H_
35 
36 /* ========================================================================= *
37  * Constants
38  * ========================================================================= */
39 
40 # define MODE_SETTING_ENTRY "usbmode"
41 # define MODE_SETTING_KEY "mode"
42 # define FS_MOUNT_DEFAULT "/dev/mmcblk0p1"
43 # define FS_MOUNT_ENTRY "mountpoints"
44 # define FS_MOUNT_KEY "mount"
45 # define FS_SYNC_ENTRY "sync"
46 # define FS_SYNC_KEY "nofua"
47 # define ALT_MOUNT_ENTRY "altmount"
48 # define ALT_MOUNT_KEY "mount"
49 # define UDEV_PATH_ENTRY "udev"
50 # define UDEV_PATH_KEY "path"
51 # define UDEV_SUBSYSTEM_KEY "subsystem"
52 # define CDROM_ENTRY "cdrom"
53 # define CDROM_PATH_KEY "path"
54 # define CDROM_TIMEOUT_KEY "timeout"
55 # define TRIGGER_ENTRY "trigger"
56 # define TRIGGER_PATH_KEY "path"
57 # define TRIGGER_UDEV_SUBSYSTEM "udev_subsystem"
58 # define TRIGGER_MODE_KEY "mode"
59 # define TRIGGER_PROPERTY_KEY "property"
60 # define TRIGGER_PROPERTY_VALUE_KEY "value"
61 # define NETWORK_ENTRY "network"
62 # define NETWORK_IP_KEY "ip"
63 # define NETWORK_INTERFACE_KEY "interface"
64 # define NETWORK_GATEWAY_KEY "gateway"
65 # define NETWORK_NAT_INTERFACE_KEY "nat_interface"
66 # define NETWORK_NETMASK_KEY "netmask"
67 # define NO_ROAMING_KEY "noroaming"
68 # define ANDROID_ENTRY "android"
69 # define ANDROID_MANUFACTURER_KEY "iManufacturer"
70 # define ANDROID_VENDOR_ID_KEY "idVendor"
71 # define ANDROID_PRODUCT_KEY "iProduct"
72 # define ANDROID_PRODUCT_ID_KEY "idProduct"
73 # define MODE_HIDE_KEY "hide"
74 # define MODE_WHITELIST_KEY "whitelist"
75 # define MODE_GROUP_ENTRY "mode_group"
76 
77 /* ========================================================================= *
78  * Types
79  * ========================================================================= */
80 
83 typedef enum set_config_result_t {
88 
89 /* ========================================================================= *
90  * Prototypes
91  * ========================================================================= */
92 
93 // (in usb_moded-config-private.h)
94 
95 #endif /* USB_MODED_CONFIG_H_ */
SET_CONFIG_UPDATED
@ SET_CONFIG_UPDATED
Definition: usb_moded-config.h:85
SET_CONFIG_UNCHANGED
@ SET_CONFIG_UNCHANGED
Definition: usb_moded-config.h:86
set_config_result_t
set_config_result_t
Definition: usb_moded-config.h:83
SET_CONFIG_ERROR
@ SET_CONFIG_ERROR
Definition: usb_moded-config.h:84