summaryrefslogtreecommitdiff
path: root/lib/vty.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vty.h')
-rw-r--r--lib/vty.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/vty.h b/lib/vty.h
index 599882a382..4f1dbe653e 100644
--- a/lib/vty.h
+++ b/lib/vty.h
@@ -127,6 +127,14 @@ struct vty
char address[SU_ADDRSTRLEN];
};
+struct vty_arg
+{
+ const char *name;
+ const char *value;
+ const char **argv;
+ int argc;
+};
+
/* Integrated configuration file. */
#define INTEGRATE_DEFAULT_CONFIG "Quagga.conf"
@@ -292,4 +300,7 @@ extern void vty_hello (struct vty *);
an async-signal-safe function. */
extern void vty_log_fixed (char *buf, size_t len);
+extern const char *vty_get_arg_value (struct vty_arg **, const char *);
+extern struct vty_arg *vty_get_arg (struct vty_arg **, const char *);
+
#endif /* _ZEBRA_VTY_H */