diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/vty/logging.h | 5 | ||||
-rw-r--r-- | include/osmocore/logging.h | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/include/osmocom/vty/logging.h b/include/osmocom/vty/logging.h index f4e28f88..e0011bf9 100644 --- a/include/osmocom/vty/logging.h +++ b/include/osmocom/vty/logging.h @@ -4,8 +4,9 @@ #define LOGGING_STR "Configure log message to this terminal\n" #define FILTER_STR "Filter log messages\n" -void logging_vty_add_cmds(void); - +struct log_info; +void logging_vty_add_cmds(const struct log_info *cat); +struct vty; struct log_target *osmo_log_vty2tgt(struct vty *vty); #endif /* _VTY_LOGGING_H */ diff --git a/include/osmocore/logging.h b/include/osmocore/logging.h index a2c63e9a..fd458440 100644 --- a/include/osmocore/logging.h +++ b/include/osmocore/logging.h @@ -144,9 +144,9 @@ int log_target_file_reopen(struct log_target *tgt); void log_add_target(struct log_target *target); void log_del_target(struct log_target *target); -/* Gernerate command argument strings for VTY use */ -const char *log_vty_category_string(struct log_info *info); -const char *log_vty_level_string(struct log_info *info); +/* Generate command string for VTY use */ +const char *log_vty_command_string(const struct log_info *info); +const char *log_vty_command_description(const struct log_info *info); struct log_target *log_target_find(int type, const char *fname); extern struct llist_head osmo_log_target_list; |