summaryrefslogtreecommitdiffstats
path: root/utils/nwztools/plattools/nwz_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/nwztools/plattools/nwz_lib.h')
-rw-r--r--utils/nwztools/plattools/nwz_lib.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/nwztools/plattools/nwz_lib.h b/utils/nwztools/plattools/nwz_lib.h
index 1dd7b4c85b..5e1640a70e 100644
--- a/utils/nwztools/plattools/nwz_lib.h
+++ b/utils/nwztools/plattools/nwz_lib.h
@@ -37,6 +37,14 @@
#include "nwz_ts.h"
#include "nwz_power.h"
+struct nwz_dev_info_t
+{
+ unsigned long model_id;
+ const char *name;
+};
+
+const char *nwz_get_model_name(unsigned long model_id);
+
/* run a program and exit with nonzero status in case of error
* argument list must be NULL terminated */
void nwz_run(const char *file, const char *args[], bool wait);