aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/vty.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2011-03-09 13:36:32 +0100
committerHarald Welte <laforge@gnumonks.org>2011-03-19 18:50:38 -0300
commit739a56696104e59d203130323d55e998b31b8d07 (patch)
tree0a24d3b02df318375b6f282c3b28be4f05ead36a /openbsc/include/openbsc/vty.h
parent5d7ad4738640b2cbae9e00e8078bb55d488105d8 (diff)
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.
Diffstat (limited to 'openbsc/include/openbsc/vty.h')
-rw-r--r--openbsc/include/openbsc/vty.h3
1 files changed, 2 insertions, 1 deletions
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