summaryrefslogtreecommitdiff
path: root/nest/cmds.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2012-03-16 12:47:12 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2012-03-16 12:47:12 +0100
commit0f808c066f3b5b190de951db042a34a1eb957a16 (patch)
tree7b54bd3f5965d6c02ef096f01176c0161d312e97 /nest/cmds.h
parent20ab192beca749166e19118e987b53b5e131d0cf (diff)
Adds filtering to 'show symbols' command.
Thanks Alexander V. Chernikov for the original patch.
Diffstat (limited to 'nest/cmds.h')
-rw-r--r--nest/cmds.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/nest/cmds.h b/nest/cmds.h
index 3b86a924..8b0bff7e 100644
--- a/nest/cmds.h
+++ b/nest/cmds.h
@@ -6,6 +6,11 @@
* Can be freely distributed and used under the terms of the GNU GPL.
*/
+struct sym_show_data {
+ int type; /* Symbols type to show */
+ struct symbol *sym;
+};
+
void cmd_show_status(void);
-void cmd_show_symbols(struct symbol *sym);
+void cmd_show_symbols(struct sym_show_data *sym);
void cmd_show_memory(void);