From f95dfb51f2da39159aea40f62de3532ff3228b1b Mon Sep 17 00:00:00 2001 From: paulo Date: Thu, 3 Dec 2009 17:53:29 +0000 Subject: Added zlog_abort functions. Changed pthread mutes to qpthread mutexes --- lib/privs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/privs.h') diff --git a/lib/privs.h b/lib/privs.h index 46d614e0..18d35d8d 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 (struct zebra_privs_t *zprivs); extern void zprivs_init (struct zebra_privs_t *zprivs); +extern void zprivs_destroy_r (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 *); -- cgit v1.2.3