mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
s3:ctdb_conn: only use ctdb_protocol.h or ctdb_private.h in ctdb_conn.c
We don't need them in ctdb_conn.h. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
parent
47dbd4ef60
commit
4574602057
@ -23,6 +23,14 @@
|
||||
|
||||
#ifdef CLUSTER_SUPPORT
|
||||
|
||||
#include <tdb.h>
|
||||
|
||||
#ifdef HAVE_CTDB_PROTOCOL_H
|
||||
#include <ctdb_protocol.h>
|
||||
#else
|
||||
#include <ctdb_private.h>
|
||||
#endif
|
||||
|
||||
#include "lib/async_req/async_sock.h"
|
||||
|
||||
struct ctdb_conn {
|
||||
|
@ -20,26 +20,11 @@
|
||||
#ifndef _CTDB_CONN_H
|
||||
#define _CTDB_CONN_H
|
||||
|
||||
#ifdef CLUSTER_SUPPORT
|
||||
|
||||
#include <tdb.h>
|
||||
|
||||
#ifdef HAVE_CTDB_PROTOCOL_H
|
||||
#include <ctdb_protocol.h>
|
||||
#else
|
||||
#include <ctdb_private.h>
|
||||
#endif
|
||||
|
||||
#else /* CLUSTER_SUPPORT */
|
||||
|
||||
struct ctdb_reply_control;
|
||||
|
||||
#endif /* CLUSTER_SUPPORT */
|
||||
|
||||
#include "tevent.h"
|
||||
#include "librpc/gen_ndr/messaging.h"
|
||||
|
||||
struct ctdb_conn;
|
||||
struct ctdb_reply_control;
|
||||
|
||||
struct tevent_req *ctdb_conn_control_send(TALLOC_CTX *mem_ctx,
|
||||
struct tevent_context *ev,
|
||||
|
Loading…
Reference in New Issue
Block a user