1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/ctdb/include
Martin Schwenke b4589b954e ctdb-logging: Update to use Samba style debug.h/debug.c
Samba's debug subsystem has changed a lot, so CTDB's logging needs
to be rewritten to be compatible.

The new debug.h/debug.c can't just be pulled in because it has some
extra dependencies into Samba's lib/util.  For now, to support the
smallest possible patch, implement a minimal subset of Samba's
debug.[ch] that just supports the DEBUG_CALLBACK logtype.

Define a callback for each logging method.

Check later to see if debug_extra (or similar) can somehow be
implemented using debug classes.

The timestamp on CTDB CLI tool and test program DEBUG() output goes
away, so update the unit test code to cope.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
2014-10-06 12:34:33 +02:00
..
internal ctdb-includes: Remove some unnecessary declarations 2014-09-11 03:56:03 +02:00
ctdb_client.h ctdb-client: Add client code to detach a database 2014-04-14 03:52:39 +02:00
ctdb_logging.h ctdb-logging: Update to use Samba style debug.h/debug.c 2014-10-06 12:34:33 +02:00
ctdb_private.h ctdb-logging: Remove log ringbuffer 2014-10-06 12:34:32 +02:00
ctdb_protocol.h ctdb-logging: Remove log ringbuffer 2014-10-06 12:34:32 +02:00
ctdb_typesafe_cb.h rename ccan/typesafe_cb.h to ctdb_typesafe_cb.h and 2010-06-02 09:18:48 +10:00
ctdb.h libctdb: add ctdb_getcapabilities() 2012-09-28 17:05:34 +10:00