summaryrefslogtreecommitdiffstats
path: root/nvme.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:08:54 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:08:54 +0000
commita45fb29c9f34bc175ac7b69723de175d62e838eb (patch)
tree364371981040c3dc6e97bb289bda0d33933ebfac /nvme.h
parentAdding upstream version 2.8. (diff)
downloadnvme-cli-a45fb29c9f34bc175ac7b69723de175d62e838eb.tar.xz
nvme-cli-a45fb29c9f34bc175ac7b69723de175d62e838eb.zip
Adding upstream version 2.9.1.upstream/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 */