From 1b428050e9c97874634548a316e3877d5aeef0e8 Mon Sep 17 00:00:00 2001 From: Everton Marques Date: Thu, 3 Jul 2014 14:53:44 -0300 Subject: [PATCH] zebra: Export zclient_socket_un(). --- lib/zclient.c | 2 +- lib/zclient.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/zclient.c b/lib/zclient.c index 4fe5398e65..f7a4acb12a 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -214,7 +214,7 @@ zclient_socket(void) /* For sockaddr_un. */ #include -static int +int zclient_socket_un (const char *path) { int ret; diff --git a/lib/zclient.h b/lib/zclient.h index 6bb1725963..5a3c5bea25 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -165,6 +165,7 @@ extern void zclient_stop (struct zclient *); extern void zclient_reset (struct zclient *); extern void zclient_free (struct zclient *); +extern int zclient_socket_un (const char *path); extern int zclient_socket_connect (struct zclient *); extern void zclient_serv_path_set (char *path); extern const char *const zclient_serv_path_get (void); -- 2.39.5