summaryrefslogtreecommitdiff
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 @@
37#include "nwz_ts.h" 37#include "nwz_ts.h"
38#include "nwz_power.h" 38#include "nwz_power.h"
39 39
40struct nwz_dev_info_t
41{
42 unsigned long model_id;
43 const char *name;
44};
45
46const char *nwz_get_model_name(unsigned long model_id);
47
40/* run a program and exit with nonzero status in case of error 48/* run a program and exit with nonzero status in case of error
41 * argument list must be NULL terminated */ 49 * argument list must be NULL terminated */
42void nwz_run(const char *file, const char *args[], bool wait); 50void nwz_run(const char *file, const char *args[], bool wait);