From: Volker Lendecke Date: Tue, 5 Apr 2016 08:09:35 +0000 (+0200) Subject: ctdbd_conn: Make ctdbd_init_connection public X-Git-Tag: talloc-2.1.7~141 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1ff4002b23d7ff1d9de145f1f356d9a729af9ae9;p=thirdparty%2Fsamba.git ctdbd_conn: Make ctdbd_init_connection public Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- 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;