StorageCommands: add command "listmounts"

This commit is contained in:
Max Kellermann
2014-02-12 21:46:32 +01:00
parent 9e02b13ab3
commit 0935ae330a
4 changed files with 86 additions and 0 deletions

View File

@@ -107,6 +107,7 @@ static const struct command commands[] = {
{ "list", PERMISSION_READ, 1, -1, handle_list },
{ "listall", PERMISSION_READ, 0, 1, handle_listall },
{ "listallinfo", PERMISSION_READ, 0, 1, handle_listallinfo },
{ "listmounts", PERMISSION_READ, 0, 0, handle_listmounts },
#endif
#ifdef ENABLE_NEIGHBOR_PLUGINS
{ "listneighbors", PERMISSION_READ, 0, 0, handle_listneighbors },