summaryrefslogtreecommitdiff
path: root/lib/libfrr.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2024-01-24 21:01:22 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2024-01-27 19:01:19 +0100
commit42eeea090e0e07de78763e3111e92f510d89c44c (patch)
tree7d8c18379c91c2d6b3c939fd7ae8e528940e7bbd /lib/libfrr.h
parent444bc5e237ca7d95c61f68e3a4951744058c9b64 (diff)
*: rename `frr_vtydir` to `frr_runstatedir`
Also remove frr_init_vtydir(), just initialize to default. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/libfrr.h')
-rw-r--r--lib/libfrr.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libfrr.h b/lib/libfrr.h
index b260a54dfe..ef262c236c 100644
--- a/lib/libfrr.h
+++ b/lib/libfrr.h
@@ -130,7 +130,6 @@ struct frr_daemon_info {
.version = FRR_VERSION, ); \
MACRO_REQUIRE_SEMICOLON() /* end */
-extern void frr_init_vtydir(void);
extern void frr_preinit(struct frr_daemon_info *daemon, int argc, char **argv);
extern void frr_opt_add(const char *optstr, const struct option *longopts,
const char *helpstr);
@@ -172,7 +171,7 @@ extern void frr_fini(void);
extern char config_default[512];
extern char frr_zclientpath[256];
extern const char frr_sysconfdir[];
-extern char frr_vtydir[256];
+extern char frr_runstatedir[256];
extern const char frr_moduledir[];
extern const char frr_scriptdir[];