diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2014-01-15 17:06:19 +0100 |
---|---|---|
committer | Daniel Willmann <daniel@totalueberwachung.de> | 2014-01-15 17:41:44 +0100 |
commit | afa72f521018b38d91bc68c4c87fba26cf26728c (patch) | |
tree | f5e0c232263d76775bc041e476b77e78d756424d /src/tbf.h | |
parent | 85c1ea5cb6ff71b72ec8ff51f6d5c2546c96384a (diff) |
tbf: Add a function to output tbf info to VTY
Diffstat (limited to 'src/tbf.h')
-rw-r--r-- | src/tbf.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 <osmocom/vty/command.h> +#include <osmocom/vty/vty.h> + + void tbf_print_vty_info(struct vty *vty, llist_head *tbf); +#ifdef __cplusplus +} +#endif |