2000-01-19 12:30:19 +00:00
|
|
|
/*
|
|
|
|
* BIRD Internet Routing Daemon -- CLI Commands Which Don't Fit Anywhere Else
|
|
|
|
*
|
|
|
|
* (c) 2000 Martin Mares <mj@ucw.cz>
|
|
|
|
*
|
|
|
|
* Can be freely distributed and used under the terms of the GNU GPL.
|
|
|
|
*/
|
|
|
|
|
2012-03-16 11:47:12 +00:00
|
|
|
struct sym_show_data {
|
|
|
|
int type; /* Symbols type to show */
|
|
|
|
struct symbol *sym;
|
|
|
|
};
|
|
|
|
|
2013-07-25 11:15:32 +00:00
|
|
|
struct f_inst;
|
|
|
|
|
2000-01-19 12:30:19 +00:00
|
|
|
void cmd_show_status(void);
|
2012-03-16 11:47:12 +00:00
|
|
|
void cmd_show_symbols(struct sym_show_data *sym);
|
2010-06-02 20:20:40 +00:00
|
|
|
void cmd_show_memory(void);
|
2023-11-24 12:57:27 +00:00
|
|
|
uint cmd_show_memory_cbor(byte *tbuf, uint capacity);
|
2018-12-27 13:26:11 +00:00
|
|
|
|
|
|
|
struct f_line;
|
|
|
|
void cmd_eval(const struct f_line *expr);
|