From: Everton Marques Date: Thu, 3 Jul 2014 17:53:44 +0000 (-0300) Subject: zebra: Export zclient_socket_un(). X-Git-Tag: frr-2.0-rc1~629 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=1b428050e9c97874634548a316e3877d5aeef0e8;p=matthieu%2Ffrr.git zebra: Export zclient_socket_un(). --- 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);