From cc3df77ac7a2666270dd7b208209ff67634ae9fc Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 10 Aug 2012 08:36:36 -0400 Subject: [PATCH] e-book-backend-db-cache.h: Cleanups. Clean up the header file while we're at it. --- .../libedata-book/e-book-backend-db-cache.h | 49 +++++++++++++++------- 1 file changed, 33 insertions(+), 16 deletions(-) diff --git a/addressbook/libedata-book/e-book-backend-db-cache.h b/addressbook/libedata-book/e-book-backend-db-cache.h index 4b17bbd..b26e5f1 100644 --- a/addressbook/libedata-book/e-book-backend-db-cache.h +++ b/addressbook/libedata-book/e-book-backend-db-cache.h @@ -33,23 +33,40 @@ G_BEGIN_DECLS /* Avoid including in a public header file. */ struct __db; -EContact * e_book_backend_db_cache_get_contact (struct __db *db, const gchar *uid); -gchar *e_book_backend_db_cache_get_filename (struct __db *db); -void e_book_backend_db_cache_set_filename (struct __db *db, const gchar *filename); -gboolean e_book_backend_db_cache_add_contact (struct __db *db, - EContact *contact); -gboolean e_book_backend_db_cache_remove_contact (struct __db *db, - const gchar *uid); -gboolean e_book_backend_db_cache_check_contact (struct __db *db, const gchar *uid); -GList * e_book_backend_db_cache_get_contacts (struct __db *db, const gchar *query); -gboolean e_book_backend_db_cache_exists (const gchar *uri); -void e_book_backend_db_cache_set_populated (struct __db *db); -gboolean e_book_backend_db_cache_is_populated (struct __db *db); -GPtrArray * e_book_backend_db_cache_search (struct __db *db, const gchar *query); -void e_book_backend_db_cache_set_time (struct __db *db, const gchar *t); -gchar * e_book_backend_db_cache_get_time (struct __db *db); +EContact * e_book_backend_db_cache_get_contact + (struct __db *db, + const gchar *uid); +gchar * e_book_backend_db_cache_get_filename + (struct __db *db); +void e_book_backend_db_cache_set_filename + (struct __db *db, + const gchar *filename); +gboolean e_book_backend_db_cache_add_contact + (struct __db *db, + EContact *contact); +gboolean e_book_backend_db_cache_remove_contact + (struct __db *db, + const gchar *uid); +gboolean e_book_backend_db_cache_check_contact + (struct __db *db, + const gchar *uid); +GList * e_book_backend_db_cache_get_contacts + (struct __db *db, + const gchar *query); +gboolean e_book_backend_db_cache_exists (const gchar *uri); +void e_book_backend_db_cache_set_populated + (struct __db *db); +gboolean e_book_backend_db_cache_is_populated + (struct __db *db); +GPtrArray * e_book_backend_db_cache_search (struct __db *db, + const gchar *query); +void e_book_backend_db_cache_set_time + (struct __db *db, + const gchar *t); +gchar * e_book_backend_db_cache_get_time + (struct __db *db); G_END_DECLS -#endif +#endif /* E_BOOK_BACKEND_DB_CACHE_H */ -- 2.7.4