summaryrefslogtreecommitdiff
path: root/nest/cmds.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2013-07-25 13:15:32 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2013-07-25 13:15:32 +0200
commit508d936078aecc8fbbb9ca1218104599c4a3cb4a (patch)
treed84c6b098342fc2f366d960bd90d6a158610ea48 /nest/cmds.h
parenta0b176e3b2b50d3a30574afa927e0ee8ef65be68 (diff)
Implements eval command and minor CLI cleanups.
Implemented eval command can be used to evaluate expressions. The patch also documents echo command and allows to use log classes instead of integer as a mask for echo.
Diffstat (limited to 'nest/cmds.h')
-rw-r--r--nest/cmds.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nest/cmds.h b/nest/cmds.h
index 8b0bff7e..4cf8fb1b 100644
--- a/nest/cmds.h
+++ b/nest/cmds.h
@@ -11,6 +11,9 @@ struct sym_show_data {
struct symbol *sym;
};
+struct f_inst;
+
void cmd_show_status(void);
void cmd_show_symbols(struct sym_show_data *sym);
void cmd_show_memory(void);
+void cmd_eval(struct f_inst *expr);