1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-24 10:50:22 +03:00

ctdb-server: Replace ctdb_logging.h with common/logging.h

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Amitay Isaacs 2015-11-11 15:41:10 +11:00 committed by Martin Schwenke
parent 3f314154fe
commit f50db5cba5
27 changed files with 28 additions and 27 deletions

View File

@ -30,9 +30,9 @@
#include "ctdb_private.h"
#include "ctdb_client.h"
#include "ctdb_logging.h"
#include "common/common.h"
#include "common/logging.h"
static void ctdb_ban_node_event(struct tevent_context *ev,
struct tevent_timer *te,

View File

@ -33,12 +33,12 @@
#include "ctdb_private.h"
#include "ctdb_client.h"
#include "ctdb_logging.h"
#include "common/rb_tree.h"
#include "common/reqid.h"
#include "common/system.h"
#include "common/common.h"
#include "common/logging.h"
struct ctdb_sticky_record {
struct ctdb_context *ctdb;

View File

@ -32,10 +32,10 @@
#include "ctdb_private.h"
#include "ctdb_client.h"
#include "ctdb_logging.h"
#include "common/reqid.h"
#include "common/common.h"
#include "common/logging.h"
struct ctdb_control_state {

View File

@ -37,12 +37,12 @@
#include "ctdb_version.h"
#include "ctdb_private.h"
#include "ctdb_client.h"
#include "ctdb_logging.h"
#include "common/rb_tree.h"
#include "common/reqid.h"
#include "common/system.h"
#include "common/common.h"
#include "common/logging.h"
struct ctdb_client_pid_list {
struct ctdb_client_pid_list *next, *prev;

View File

@ -26,13 +26,13 @@
#include "lib/util/debug.h"
#include "ctdb_logging.h"
#include "ctdb_private.h"
#include "ctdb_client.h"
#include "common/rb_tree.h"
#include "common/system.h"
#include "common/common.h"
#include "common/logging.h"
void ctdb_set_child_info(TALLOC_CTX *mem_ctx, const char *child_name_fmt, ...)
{

View File

@ -29,10 +29,10 @@
#include "lib/util/debug.h"
#include "ctdb_private.h"
#include "ctdb_logging.h"
#include "common/rb_tree.h"
#include "common/common.h"
#include "common/logging.h"
/**
* Cancel a transaction on database

View File

@ -31,9 +31,9 @@
#include "lib/util/samba_util.h"
#include "ctdb_private.h"
#include "ctdb_logging.h"
#include "common/common.h"
#include "common/logging.h"
/*

View File

@ -30,10 +30,10 @@
#include "lib/util/samba_util.h"
#include "ctdb_private.h"
#include "ctdb_logging.h"
#include "common/system.h"
#include "common/common.h"
#include "common/logging.h"
/*
* Non-blocking Locking API

View File

@ -31,10 +31,10 @@
#include "ctdb_private.h"
#include "ctdb_client.h"
#include "ctdb_logging.h"
#include "common/system.h"
#include "common/common.h"
#include "common/logging.h"
const char *debug_extra = "";

View File

@ -29,7 +29,6 @@
#include "ctdb_private.h"
#include "ctdb_client.h"
#include "ctdb_logging.h"
#include "common/system.h"

View File

@ -28,7 +28,8 @@
#include "lib/util/samba_util.h" /* get_myname */
#include "ctdb_private.h"
#include "ctdb_logging.h"
#include "common/logging.h"
/* Linux and FreeBSD define this appropriately - try good old /dev/log
* for anything that doesn't... */

View File

@ -34,12 +34,12 @@
#include "ctdb_private.h"
#include "ctdb_client.h"
#include "ctdb_logging.h"
#include "common/rb_tree.h"
#include "common/reqid.h"
#include "common/system.h"
#include "common/common.h"
#include "common/logging.h"
#define PERSISTENT_HEALTH_TDB "persistent_health.tdb"

View File

@ -30,10 +30,10 @@
#include "lib/util/samba_util.h"
#include "ctdb_private.h"
#include "ctdb_logging.h"
#include "common/system.h"
#include "common/common.h"
#include "common/logging.h"
struct ctdb_monitor_state {
uint32_t monitoring_mode;

View File

@ -32,10 +32,10 @@
#include "lib/util/samba_util.h"
#include "ctdb_private.h"
#include "ctdb_logging.h"
#include "common/reqid.h"
#include "common/common.h"
#include "common/logging.h"
struct ctdb_persistent_state {
struct ctdb_context *ctdb;

View File

@ -34,10 +34,10 @@
#include "ctdb_private.h"
#include "ctdb_client.h"
#include "ctdb_logging.h"
#include "common/system.h"
#include "common/common.h"
#include "common/logging.h"
int
ctdb_control_getvnnmap(struct ctdb_context *ctdb, uint32_t opcode, TDB_DATA indata, TDB_DATA *outdata)

View File

@ -35,11 +35,11 @@
#include "ctdb_private.h"
#include "ctdb_client.h"
#include "ctdb_logging.h"
#include "common/system.h"
#include "common/cmdline.h"
#include "common/common.h"
#include "common/logging.h"
/* List of SRVID requests that need to be processed */

View File

@ -30,9 +30,9 @@
#include "ctdb_private.h"
#include "ctdb_client.h"
#include "ctdb_logging.h"
#include "common/common.h"
#include "common/logging.h"
/*
choose the transport we will use

View File

@ -24,11 +24,11 @@
#include "lib/util/debug.h"
#include "ctdb_private.h"
#include "ctdb_logging.h"
#include "common/rb_tree.h"
#include "common/reqid.h"
#include "common/common.h"
#include "common/logging.h"
#define SERVER_ID_KEY_SIZE 3

View File

@ -28,7 +28,8 @@
#include "lib/util/samba_util.h"
#include "ctdb_private.h"
#include "ctdb_logging.h"
#include "common/logging.h"
static void ctdb_statistics_update(struct tevent_context *ev,
struct tevent_timer *te,

View File

@ -33,12 +33,12 @@
#include "ctdb_private.h"
#include "ctdb_client.h"
#include "ctdb_logging.h"
#include "common/rb_tree.h"
#include "common/reqid.h"
#include "common/system.h"
#include "common/common.h"
#include "common/logging.h"
#define TAKEOVER_TIMEOUT() timeval_current_ofs(ctdb->tunable.takeover_timeout,0)

View File

@ -33,11 +33,11 @@
#include "ctdb_private.h"
#include "ctdb_client.h"
#include "ctdb_logging.h"
#include "common/reqid.h"
#include "common/system.h"
#include "common/common.h"
#include "common/logging.h"
typedef void (*ctdb_traverse_fn_t)(void *private_data, TDB_DATA key, TDB_DATA data);

View File

@ -25,9 +25,9 @@
#include "lib/util/debug.h"
#include "ctdb_private.h"
#include "ctdb_logging.h"
#include "common/common.h"
#include "common/logging.h"
static const struct {
const char *name;

View File

@ -31,10 +31,10 @@
#include "ctdb_private.h"
#include "ctdb_client.h"
#include "ctdb_logging.h"
#include "common/system.h"
#include "common/common.h"
#include "common/logging.h"
struct ctdb_persistent_write_state {
struct ctdb_db_context *ctdb_db;

View File

@ -29,9 +29,9 @@
#include "ctdb_private.h"
#include "ctdb_client.h"
#include "ctdb_logging.h"
#include "common/common.h"
#include "common/logging.h"
/*
returns the ctdb uptime

View File

@ -34,11 +34,11 @@
#include "ctdb_private.h"
#include "ctdb_client.h"
#include "ctdb_logging.h"
#include "common/rb_tree.h"
#include "common/system.h"
#include "common/common.h"
#include "common/logging.h"
#define TIMELIMIT() timeval_current_ofs(10, 0)

View File

@ -33,12 +33,12 @@
#include "lib/util/samba_util.h"
#include "ctdb_private.h"
#include "ctdb_logging.h"
#include "common/reqid.h"
#include "common/system.h"
#include "common/cmdline.h"
#include "common/common.h"
#include "common/logging.h"
static struct {
const char *nlist;

View File

@ -33,11 +33,11 @@
#include "lib/util/samba_util.h"
#include "ctdb_private.h"
#include "ctdb_logging.h"
#include "common/rb_tree.h"
#include "common/system.h"
#include "common/common.h"
#include "common/logging.h"
static void ctdb_event_script_timeout(struct tevent_context *ev,