summaryrefslogtreecommitdiff
path: root/src/mon/Monitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mon/Monitor.h')
-rw-r--r--src/mon/Monitor.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mon/Monitor.h b/src/mon/Monitor.h
index df4a751361a..9b304428732 100644
--- a/src/mon/Monitor.h
+++ b/src/mon/Monitor.h
@@ -844,5 +844,17 @@ public:
long parse_pos_long(const char *s, ostream *pss = NULL);
+struct MonCommand {
+ string cmdstring;
+ string helpstring;
+ string module;
+ string req_perms;
+ string availability;
+};
+
+void get_command_descriptions(const MonCommand *commands,
+ unsigned commands_size,
+ Formatter *f,
+ bufferlist *rdata);
#endif