From 164d3acd8e76757d56a6e8e65f18edce0eb56a47 Mon Sep 17 00:00:00 2001 From: Cosimo Alfarano Date: Thu, 4 Feb 2010 17:27:17 +0000 Subject: Add support for multi logstore --- telepathy-logger/log-manager.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'telepathy-logger/log-manager.h') diff --git a/telepathy-logger/log-manager.h b/telepathy-logger/log-manager.h index bc083b2..bd375ad 100644 --- a/telepathy-logger/log-manager.h +++ b/telepathy-logger/log-manager.h @@ -29,6 +29,7 @@ #include #include +#include G_BEGIN_DECLS #define TPL_TYPE_LOG_MANAGER (tpl_log_manager_get_type ()) @@ -71,13 +72,8 @@ typedef struct } TplLogSearchHit; -typedef gboolean (*TplLogMessageFilter) (TplLogEntry *message, - gpointer user_data); - - GType tpl_log_manager_get_type (void); - gpointer tpl_log_manager_async_operation_finish (GAsyncResult *result, GError **error); @@ -133,6 +129,11 @@ void tpl_log_manager_search_free (GList *hits); gchar *tpl_log_manager_get_date_readable (const gchar *date); void tpl_log_manager_search_hit_free (TplLogSearchHit *hit); +gint tpl_log_manager_search_hit_compare (TplLogSearchHit *a, + TplLogSearchHit *b); + +void tpl_log_manager_register_logstore (TplLogManager *self, + TplLogStore *logstore); G_END_DECLS #endif /* __TPL_LOG_MANAGER_H__ */ -- cgit v1.2.1