summaryrefslogtreecommitdiffstats
path: root/nvme.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:11:06 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:11:06 +0000
commit3b675d02a399c3489327ff09418cb76ae0eeacd7 (patch)
tree4b2bde0b687e41a7028168cedcb381ac31049e2d /nvme.h
parentReleasing progress-linux version 2.8-2~progress7.99u1. (diff)
downloadnvme-cli-3b675d02a399c3489327ff09418cb76ae0eeacd7.tar.xz
nvme-cli-3b675d02a399c3489327ff09418cb76ae0eeacd7.zip
Merging upstream version 2.9.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'nvme.h')
-rw-r--r--nvme.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/nvme.h b/nvme.h
index 3915698..7e86afc 100644
--- a/nvme.h
+++ b/nvme.h
@@ -113,8 +113,6 @@ bool nvme_is_output_format_json(void);
int __id_ctrl(int argc, char **argv, struct command *cmd,
struct plugin *plugin, void (*vs)(uint8_t *vs, struct json_object *root));
-extern int current_index;
-
const char *nvme_strerror(int errnum);
unsigned long long elapsed_utime(struct timeval start_time,
@@ -127,5 +125,6 @@ void d(unsigned char *buf, int len, int width, int group);
void d_raw(unsigned char *buf, unsigned len);
uint64_t int48_to_long(uint8_t *data);
-int map_log_level(int verbose, bool quiet);
+int get_reg_size(int offset);
+bool nvme_is_ctrl_reg(int offset);
#endif /* _NVME_H */