mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
ctdbd_conn: Make ctdbd_init_connection public
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
b1277acb44
commit
1ff4002b23
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user