From 739a56696104e59d203130323d55e998b31b8d07 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Wed, 9 Mar 2011 13:36:32 +0100 Subject: bsc: change bsc_vty_init to take logging categories as parameter This change is required to finish the integration of the VTY and the per-application logging categories that provides: "vty: integration with logging framework" in libosmocore. It has been tested with osmo-nitb. The other just compiled tested. --- openbsc/include/openbsc/vty.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbsc/include/openbsc/vty.h') diff --git a/openbsc/include/openbsc/vty.h b/openbsc/include/openbsc/vty.h index 516c8c2a0..ded2e150e 100644 --- a/openbsc/include/openbsc/vty.h +++ b/openbsc/include/openbsc/vty.h @@ -40,7 +40,8 @@ enum bsc_vty_node { extern int bsc_vty_is_config_node(struct vty *vty, int node); extern void bsc_replace_string(void *ctx, char **dst, const char *newstr); -int bsc_vty_init(void); +struct log_info; +int bsc_vty_init(const struct log_info *cat); int bsc_vty_init_extra(void); #endif -- cgit v1.2.3