summaryrefslogtreecommitdiffstats
path: root/nvme.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:08:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:09:05 +0000
commit81e5ef4ae340ae4041f8029e7c14a3bc8baab46d (patch)
tree3b0b740dd83d6a1244e81e4270497ad8db31a9b7 /nvme.h
parentReleasing debian version 2.8-2. (diff)
downloadnvme-cli-81e5ef4ae340ae4041f8029e7c14a3bc8baab46d.tar.xz
nvme-cli-81e5ef4ae340ae4041f8029e7c14a3bc8baab46d.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 */