From 1ff4002b23d7ff1d9de145f1f356d9a729af9ae9 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 5 Apr 2016 10:09:35 +0200 Subject: [PATCH] ctdbd_conn: Make ctdbd_init_connection public Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- source3/include/ctdbd_conn.h | 4 ++++ source3/lib/ctdbd_conn.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/source3/include/ctdbd_conn.h b/source3/include/ctdbd_conn.h index 27993c744f0..a4eab74fe73 100644 --- a/source3/include/ctdbd_conn.h +++ b/source3/include/ctdbd_conn.h @@ -26,6 +26,10 @@ struct ctdbd_connection; struct messaging_context; struct messaging_rec; +int ctdbd_init_connection(TALLOC_CTX *mem_ctx, + const char *sockname, int timeout, + struct ctdbd_connection **pconn); + int ctdbd_messaging_connection(TALLOC_CTX *mem_ctx, const char *sockname, int timeout, struct ctdbd_connection **pconn); diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index 3cec2535f72..27518504524 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -420,9 +420,9 @@ static int ctdbd_connection_destructor(struct ctdbd_connection *c) * Get us a ctdbd connection */ -static int ctdbd_init_connection(TALLOC_CTX *mem_ctx, - const char *sockname, int timeout, - struct ctdbd_connection **pconn) +int ctdbd_init_connection(TALLOC_CTX *mem_ctx, + const char *sockname, int timeout, + struct ctdbd_connection **pconn) { struct ctdbd_connection *conn; int ret; -- 2.47.3