summaryrefslogtreecommitdiff
path: root/lib/vty.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@users.noreply.github.com>2017-06-16 15:53:50 -0400
committerGitHub <noreply@github.com>2017-06-16 15:53:50 -0400
commit430000deeed77491c249b81d1a11512e6ff3f4e7 (patch)
treee978fa4b3fc40d699acb2be706a049383711a596 /lib/vty.c
parent62e4232010330e515630399838288f6281d04de6 (diff)
parent180fc2cd704708442d3a7fcf555dcbc1a5f1831f (diff)
Merge pull request #702 from opensourcerouting/ldpd-cli-rewrite
ldpd: convert cli and get rid of the xml interface
Diffstat (limited to 'lib/vty.c')
-rw-r--r--lib/vty.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/lib/vty.c b/lib/vty.c
index c500a45194..19f9223d37 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -3151,29 +3151,3 @@ vty_terminate (void)
Vvty_serv_thread = NULL;
}
}
-
-/* Utility functions to get arguments from commands generated
- by the xml2cli.pl script. */
-const char *
-vty_get_arg_value (struct vty_arg *args[], const char *arg)
-{
- while (*args)
- {
- if (strcmp ((*args)->name, arg) == 0)
- return (*args)->value;
- args++;
- }
- return NULL;
-}
-
-struct vty_arg *
-vty_get_arg (struct vty_arg *args[], const char *arg)
-{
- while (*args)
- {
- if (strcmp ((*args)->name, arg) == 0)
- return *args;
- args++;
- }
- return NULL;
-}