From afa72f521018b38d91bc68c4c87fba26cf26728c Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Wed, 15 Jan 2014 17:06:19 +0100 Subject: tbf: Add a function to output tbf info to VTY --- src/tbf.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/tbf.h') diff --git a/src/tbf.h b/src/tbf.h index 02f0b444..7d253eea 100644 --- a/src/tbf.h +++ b/src/tbf.h @@ -18,6 +18,8 @@ #pragma once +#ifdef __cplusplus + #include "gprs_rlcmac.h" #include "llc.h" #include "rlc.h" @@ -308,4 +310,16 @@ inline uint16_t gprs_rlcmac_tbf::sns() const } const char *tbf_name(gprs_rlcmac_tbf *tbf); +#endif + +#ifdef __cplusplus +extern "C" { +#endif +#include +#include + + void tbf_print_vty_info(struct vty *vty, llist_head *tbf); +#ifdef __cplusplus +} +#endif -- cgit v1.2.3