[Telepathy-commits] [telepathy-salut/master] direct-bytestream-manager: make DEBUG() works

Alban Crequy alban.crequy at collabora.co.uk
Tue Nov 25 03:59:14 PST 2008


20080729104004-a41c0-d3512181bbfcf891c2e8208f229e63005a79b47e.gz
---
 src/debug.c |    1 +
 src/debug.h |   13 ++++++++-----
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/debug.c b/src/debug.c
index e2df550..78dd967 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -67,6 +67,7 @@ GDebugKey keys[] = {
   { "tubes",          DEBUG_TUBES },
   { "xmpp-connection-manager",  DEBUG_XCM },
   { "si-bytestream-manager",    DEBUG_SI_BYTESTREAM_MGR },
+  { "direct-bytestream-manager",DEBUG_DIRECT_BYTESTREAM_MGR },
   { "discovery",      DEBUG_DISCO },
   { "olpc-activity",      DEBUG_OLPC_ACTIVITY },
   { "all",            ~0 },
diff --git a/src/debug.h b/src/debug.h
index 3843644..e0993ce 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -27,11 +27,14 @@ typedef enum
   DEBUG_MUC_CONNECTION = 1 << 8,
   DEBUG_CONNECTION     = 1 << 9,
   DEBUG_IM             = 1 << 10,
-  DEBUG_SI_BYTESTREAM_MGR = 1 << 11,
-  DEBUG_NET            = 1 << 12,
-  DEBUG_SELF           = 1 << 13,
-  DEBUG_TUBES          = 1 << 14,
-  DEBUG_XCM            = 1 << 15,
+  DEBUG_SI_BYTESTREAM_MGR     = 1 << 11,
+  DEBUG_DIRECT_BYTESTREAM_MGR = 1 << 12,
+  DEBUG_NET            = 1 << 13,
+  DEBUG_SELF           = 1 << 14,
+  DEBUG_TUBES          = 1 << 15,
+  DEBUG_XCM            = 1 << 16,
+  DEBUG_DISCOVERY      = 1 << 17,
+  DEBUG_OLPC_ACTIVITY  = 1 << 18,
 } DebugFlags;
 
 void debug_set_flags_from_env ();
-- 
1.5.6.5




More information about the Telepathy-commits mailing list