summaryrefslogtreecommitdiffstats
path: root/lib/privs.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/privs.h')
-rw-r--r--lib/privs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/privs.h b/lib/privs.h
index 46d614e0..45c5f49a 100644
--- a/lib/privs.h
+++ b/lib/privs.h
@@ -81,9 +81,13 @@ struct zprivs_ids_t
};
/* initialise zebra privileges */
+extern void zprivs_init_r (void);
extern void zprivs_init (struct zebra_privs_t *zprivs);
+extern void zprivs_finish (void);
+
/* drop all and terminate privileges */
extern void zprivs_terminate (struct zebra_privs_t *);
+
/* query for runtime uid's and gid's, eg vty needs this */
extern void zprivs_get_ids(struct zprivs_ids_t *);