summaryrefslogtreecommitdiff
path: root/utils/nwztools/plattools/nwz_lib.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2016-10-31 17:50:16 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2016-10-31 17:50:16 +0100
commit0a2290653ba6c6361baed9d317e6bc8fee52d6c2 (patch)
tree9df27d31a8fcf87b91707c9fe5c6268c1bbd0475 /utils/nwztools/plattools/nwz_lib.h
parentad9a2d5241ffd7954cb3d15b2cd28f20be63f597 (diff)
downloadrockbox-0a2290653ba6c6361baed9d317e6bc8fee52d6c2.tar.gz
rockbox-0a2290653ba6c6361baed9d317e6bc8fee52d6c2.zip
nwztools/plattools: rework/clean and add an all-in-one tool
This new tool (all_tools) embeds all the other tools and provides a menu to choose which one to run. Change-Id: I0e07864dd46559a7079b0f942c25155e6fa07112
Diffstat (limited to 'utils/nwztools/plattools/nwz_lib.h')
-rw-r--r--utils/nwztools/plattools/nwz_lib.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/nwztools/plattools/nwz_lib.h b/utils/nwztools/plattools/nwz_lib.h
index 5e1640a70e..90d122003a 100644
--- a/utils/nwztools/plattools/nwz_lib.h
+++ b/utils/nwztools/plattools/nwz_lib.h
@@ -158,4 +158,11 @@ int nwz_power_get_acc_charge_mode(int fd);
158/* is battery fully charged? (or -1 on error) */ 158/* is battery fully charged? (or -1 on error) */
159int nwz_power_is_fully_charged(int fd); 159int nwz_power_is_fully_charged(int fd);
160 160
161/* open pminfo device */
162int nwz_pminfo_open(void);
163/* close pminfo device */
164void nwz_pminfo_close(int fd);
165/* get pminfo factor (or 0 on error) */
166unsigned int nwz_pminfo_get_factor(int fd);
167
161#endif /* _NWZLIB_H_ */ 168#endif /* _NWZLIB_H_ */