vty: move vty_out_rate_ctr_group prototype to osmocom/vty/misc.h

Before this patch, it was in osmocom/core/rate_ctr.h
This commit is contained in:
Pablo Neira Ayuso 2011-03-28 19:24:21 +02:00 committed by Harald Welte
parent dc35dbee95
commit 70004fcc6d
3 changed files with 11 additions and 4 deletions

View File

@ -75,7 +75,4 @@ static inline void rate_ctr_inc(struct rate_ctr *ctr)
/* Initialize the counter module */
int rate_ctr_init(void *tall_ctx);
struct vty;
void vty_out_rate_ctr_group(struct vty *vty, const char *prefix,
struct rate_ctr_group *ctrg);
#endif /* RATE_CTR_H */

View File

@ -1,4 +1,4 @@
osmovty_HEADERS = buffer.h command.h vector.h vty.h \
telnet_interface.h logging.h
telnet_interface.h logging.h misc.h
osmovtydir = $(includedir)/osmocom/vty

View File

@ -0,0 +1,10 @@
#ifndef OSMO_VTY_MISC_H
#define OSMO_VTY_MISC_H
#include <osmocom/vty/vty.h>
#include <osmocom/core/rate_ctr.h>
void vty_out_rate_ctr_group(struct vty *vty, const char *prefix,
struct rate_ctr_group *ctrg);
#endif