summaryrefslogtreecommitdiffstats
path: root/lib/libfrr.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-06-01 15:19:27 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-08-02 02:59:51 +0200
commitcff2b2112e493ac875f1cc31ae0df4f1c13e4a90 (patch)
tree74c770d7e9bf5bb129ccc24664ff7696cb270e90 /lib/libfrr.h
parentlib: daemonize more intelligently (diff)
downloadfrr-cff2b2112e493ac875f1cc31ae0df4f1c13e4a90.tar.xz
frr-cff2b2112e493ac875f1cc31ae0df4f1c13e4a90.zip
lib: --terminal option for all daemons
This allows, among other things, piping in a configuration from stdin. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/libfrr.h')
-rw-r--r--lib/libfrr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libfrr.h b/lib/libfrr.h
index 0f6ed0cb0..238a6f976 100644
--- a/lib/libfrr.h
+++ b/lib/libfrr.h
@@ -49,6 +49,7 @@ struct frr_daemon_info {
char *vty_sock_path;
bool dryrun;
bool daemon_mode;
+ bool terminal;
const char *config_file;
const char *pid_file;
const char *vty_path;