diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-06-04 09:42:14 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-06-08 09:39:43 +0200 |
commit | 62e96a3535714088a5dabe3cb4a8523165b19877 (patch) | |
tree | 14be557e47f903a506624a50ba11d58b41687181 /src/pcu_vty.c | |
parent | a700dd9e11d31805cfe8dd07fc27ac96425cbf0c (diff) |
vty: Add a file for C++ functions
Currently the pcu_vty.c doesn't compile with C++. Thus C++ object
cannot be access directly there.
This commit adds a helper C++ file that exports all functions with C
calling conventions and naming to work around that limitation until
the transition of pcu_vty.c is completed.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/pcu_vty.c')
-rw-r--r-- | src/pcu_vty.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pcu_vty.c b/src/pcu_vty.c index 9490664f..7add3930 100644 --- a/src/pcu_vty.c +++ b/src/pcu_vty.c @@ -12,6 +12,8 @@ #include "bts.h" #include "tbf.h" +#include "pcu_vty_functions.h" + enum node_type pcu_vty_go_parent(struct vty *vty) { switch (vty->node) { @@ -96,7 +98,7 @@ static int config_write_pcu(struct vty *vty) vty_out(vty, " dl-tbf-idle-time %d%s", bts->dl_tbf_idle_msec, VTY_NEWLINE); - return CMD_SUCCESS; + return pcu_vty_config_write_pcu_ext(vty); } /* per-BTS configuration */ |