summaryrefslogtreecommitdiffstats
path: root/nvme.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 */