aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/vty_interface.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-06-10 23:11:52 +0800
committerHarald Welte <laforge@gnumonks.org>2009-06-10 23:25:50 +0800
commit4bfdfe7f70376612ad2343dd71e8b6ad52124ee6 (patch)
treecfe0b6321dc1346d72471f1805d5bdf02384498b /openbsc/src/vty_interface.c
parentec44e1ff4139f60483dfcaa8329e39b41bfb8c4a (diff)
reworked MNCC codebase
This is Harald's reworked MNCC base, slowly heading towards integration into master. The key changes are: * provide much more structure to the data in gsm_mncc * encode_* and decode_* functions now take a structure rather than tons of individual arguments (whose order nobody can remember) * make sure we don't have copies of the same code everywhere by introducing mncc_set_cause() and mncc_release_ind() * save horizontal screen space if possible * make sure we break lines > 80 characters
Diffstat (limited to 'openbsc/src/vty_interface.c')
-rw-r--r--openbsc/src/vty_interface.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/vty_interface.c b/openbsc/src/vty_interface.c
index 44531dd50..6597e440f 100644
--- a/openbsc/src/vty_interface.c
+++ b/openbsc/src/vty_interface.c
@@ -326,6 +326,8 @@ static void lchan_dump_vty(struct vty *vty, struct gsm_lchan *lchan)
vty_out(vty, " No Subscriber%s", VTY_NEWLINE);
}
+#if 0
+TODO: callref and remote callref of call must be resolved to get gsm_trans object
static void call_dump_vty(struct vty *vty, struct gsm_call *call)
{
vty_out(vty, "Call Type %u, State %u, Transaction ID %u%s",
@@ -349,6 +351,7 @@ static void call_dump_vty(struct vty *vty, struct gsm_call *call)
} else
vty_out(vty, "Call has no Called Subscriber%s", VTY_NEWLINE);
}
+#endif
DEFUN(show_lchan,
show_lchan_cmd,