aboutsummaryrefslogtreecommitdiff
path: root/powerdebug.h
diff options
context:
space:
mode:
authorAmit Arora <amit.arora@linaro.org>2010-08-05 13:31:20 +0530
committerAmit Arora <amit.arora@linaro.org>2010-08-05 13:31:20 +0530
commitfefe8bfe2cefe20c763f1b4594e2a792101fc5f3 (patch)
treea5203999c933420aa414b4366a9a83e8638ab473 /powerdebug.h
parent83faf0e7acefbed321a52d064935137cb00d8dcd (diff)
downloadpowerdebug-fefe8bfe2cefe20c763f1b4594e2a792101fc5f3.tar.gz
Add version string and long options
Diffstat (limited to 'powerdebug.h')
-rw-r--r--powerdebug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/powerdebug.h b/powerdebug.h
index 27ed37c..df8877d 100644
--- a/powerdebug.h
+++ b/powerdebug.h
@@ -6,6 +6,8 @@
#include <getopt.h>
#include <errno.h>
+#define VERSION "1.0"
+
//#define PATH_MAX 1024
//#define NAME_MAX 128
#define VALUE_MAX 16
@@ -29,6 +31,7 @@ struct regulator_info {
extern int numregulators;
extern void usage(char **argv);
+extern void version(void);
extern void print_regulator_info(int verbose);
extern void get_sensor_info(char *path, char *name, char *sensor, int verbose);