summaryrefslogtreecommitdiff
path: root/telepathy-logger/log-manager.h
diff options
context:
space:
mode:
authorCosimo Alfarano <cosimo.alfarano@collabora.co.uk>2010-02-04 17:27:17 +0000
committerCosimo Alfarano <cosimo.alfarano@collabora.co.uk>2010-02-04 17:27:17 +0000
commit164d3acd8e76757d56a6e8e65f18edce0eb56a47 (patch)
tree775d973d7025f69526fe33419fc5e001281f7d88 /telepathy-logger/log-manager.h
parenta68ca09705b73ea229186671e97bcddc76e51866 (diff)
downloadtelepathy-logger-164d3acd8e76757d56a6e8e65f18edce0eb56a47.tar.gz
Add support for multi logstore
Diffstat (limited to 'telepathy-logger/log-manager.h')
-rw-r--r--telepathy-logger/log-manager.h11
1 files changed, 6 insertions, 5 deletions
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 <telepathy-glib/account.h>
#include <telepathy-logger/log-entry.h>
+#include <telepathy-logger/log-store.h>
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__ */