mirror of https://gerrit.osmocom.org/libosmocore
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:
parent
dc35dbee95
commit
70004fcc6d
|
@ -75,7 +75,4 @@ static inline void rate_ctr_inc(struct rate_ctr *ctr)
|
||||||
/* Initialize the counter module */
|
/* Initialize the counter module */
|
||||||
int rate_ctr_init(void *tall_ctx);
|
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 */
|
#endif /* RATE_CTR_H */
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
osmovty_HEADERS = buffer.h command.h vector.h vty.h \
|
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
|
osmovtydir = $(includedir)/osmocom/vty
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue