diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-12-14 15:30:10 +0000 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-05-09 12:12:18 +0200 |
commit | 6c557efaaae94f8ebf66c5af2640d43c92cb72f7 (patch) | |
tree | d43e71cbddc63d2eb09eb35ce87cc3a31dd058ce | |
parent | 14b822a2e3ad3a66d3f0025013f134e513fc2cc2 (diff) |
Add TLS debug flag
-rw-r--r-- | telepathy-glib/debug-internal.h | 3 | ||||
-rw-r--r-- | telepathy-glib/debug.c | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/telepathy-glib/debug-internal.h b/telepathy-glib/debug-internal.h index cea13dacf..4f8c0fea7 100644 --- a/telepathy-glib/debug-internal.h +++ b/telepathy-glib/debug-internal.h @@ -35,7 +35,8 @@ typedef enum TP_DEBUG_ROOM_CONFIG = 1 << 17, TP_DEBUG_CALL = 1 << 18, /* Quis custodiet ipsos custodes? */ - TP_DEBUG_DEBUGGER = 1 << 19 + TP_DEBUG_DEBUGGER = 1 << 19, + TP_DEBUG_TLS = 1 << 20 } TpDebugFlags; gboolean _tp_debug_flag_is_set (TpDebugFlags flag); diff --git a/telepathy-glib/debug.c b/telepathy-glib/debug.c index ccaef18ac..b6a89e26a 100644 --- a/telepathy-glib/debug.c +++ b/telepathy-glib/debug.c @@ -54,6 +54,8 @@ * <listitem><literal>contact-lists</literal> - the #TpBaseContactList * (service)</listitem> * <listitem><literal>debugger</literal> - #TpDebugClient objects</listitem> + * <listitem><literal>tls</literal> - #TpTLSCertificate objects + * (client)</listitem> * <listitem><literal>all</literal> - all of the above</listitem> * </itemizedlist> */ @@ -117,6 +119,7 @@ static GDebugKey keys[] = { { "room-config", TP_DEBUG_ROOM_CONFIG }, { "call", TP_DEBUG_CALL }, { "debugger", TP_DEBUG_DEBUGGER }, + { "tls", TP_DEBUG_TLS }, { 0, } }; @@ -151,6 +154,7 @@ static DebugKeyToDomain key_to_domain[] = { { TP_DEBUG_SASL, G_LOG_DOMAIN "/sasl" }, { TP_DEBUG_ROOM_CONFIG, G_LOG_DOMAIN "/room-config" }, { TP_DEBUG_DEBUGGER, G_LOG_DOMAIN "/debugger" }, + { TP_DEBUG_TLS, G_LOG_DOMAIN "/tls" }, { 0, NULL } }; |