summaryrefslogtreecommitdiff
path: root/lib/zclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zclient.h')
-rw-r--r--lib/zclient.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index 288951eb1a..23fe0e41f4 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -134,6 +134,9 @@ struct zclient {
/* The thread master we schedule ourselves on */
struct thread_master *master;
+ /* Priviledges to change socket values */
+ struct zebra_privs_t *privs;
+
/* Socket to zebra daemon. */
int sock;
@@ -315,7 +318,7 @@ struct zapi_pw_status {
/* Prototypes of zebra client service functions. */
extern struct zclient *zclient_new(struct thread_master *);
-extern void zclient_init(struct zclient *, int, u_short);
+extern void zclient_init(struct zclient *, int, u_short, struct zebra_privs_t *privs);
extern int zclient_start(struct zclient *);
extern void zclient_stop(struct zclient *);
extern void zclient_reset(struct zclient *);