diff options
author | JP Rosevear <jpr@helixcode.com> | 2000-11-08 06:25:34 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2000-11-08 06:25:34 +0800 |
commit | 082bc288ff27d74ae48b78d994eec2a4f0106cd2 (patch) | |
tree | a6dc582b9c75b0bee3c35a1f4cd8e01b560d21e7 /addressbook/backend/pas/pas-book.c | |
parent | ba58be670e008ff3c4e2f4222fc782bb114f7cba (diff) | |
download | gsoc2013-evolution-082bc288ff27d74ae48b78d994eec2a4f0106cd2.tar gsoc2013-evolution-082bc288ff27d74ae48b78d994eec2a4f0106cd2.tar.gz gsoc2013-evolution-082bc288ff27d74ae48b78d994eec2a4f0106cd2.tar.bz2 gsoc2013-evolution-082bc288ff27d74ae48b78d994eec2a4f0106cd2.tar.lz gsoc2013-evolution-082bc288ff27d74ae48b78d994eec2a4f0106cd2.tar.xz gsoc2013-evolution-082bc288ff27d74ae48b78d994eec2a4f0106cd2.tar.zst gsoc2013-evolution-082bc288ff27d74ae48b78d994eec2a4f0106cd2.zip |
Build e-dbhash.[hc]
2000-11-07 JP Rosevear <jpr@helixcode.com>
* Makefile.am: Build e-dbhash.[hc]
* e-dbhash.[hc]: New routines to manage a db database on disk that
contains md5 hashed data and indexed by uids. Provides comparison
functions and such so the caller does not have to do the md5 bits.
2000-11-07 JP Rosevear <jpr@helixcode.com>
* backend/pas/pas-book.h: Update PASRequest structure
* backend/pas/pas-book.c (impl_Evolution_Book_get_changes): update param name
(pas_book_queue_get_changes): Use PASRequest change_id slot
* backend/pas/pas-backend-file.c (pas_backend_file_book_view_copy):
Properly copy change_id and change_context
(pas_backend_file_book_view_free): Free change_id/change_context
(pas_backend_file_changes_foreach_key): Callback to figure out the
deleted cards
(pas_backend_file_changes): Use new e-dbhash stuff to implement.
Write out updated hash
* backend/idl/addressbook.idl: Rename get_changes param
svn path=/trunk/; revision=6489
Diffstat (limited to 'addressbook/backend/pas/pas-book.c')
-rw-r--r-- | addressbook/backend/pas/pas-book.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addressbook/backend/pas/pas-book.c b/addressbook/backend/pas/pas-book.c index 6a8c17a584..b1d2688b3f 100644 --- a/addressbook/backend/pas/pas-book.c +++ b/addressbook/backend/pas/pas-book.c @@ -130,14 +130,14 @@ pas_book_queue_get_book_view (PASBook *book, const Evolution_BookViewListener li } static void -pas_book_queue_get_changes (PASBook *book, const Evolution_BookViewListener listener, const char *search) +pas_book_queue_get_changes (PASBook *book, const Evolution_BookViewListener listener, const char *change_id) { PASRequest *req; CORBA_Environment ev; req = g_new0 (PASRequest, 1); req->op = GetChanges; - req->search = g_strdup(search); + req->change_id= g_strdup(change_id); CORBA_exception_init (&ev); @@ -259,12 +259,12 @@ impl_Evolution_Book_get_book_view (PortableServer_Servant servant, static void impl_Evolution_Book_get_changes (PortableServer_Servant servant, const Evolution_BookViewListener listener, - const CORBA_char *search, + const CORBA_char *change_id, CORBA_Environment *ev) { PASBook *book = PAS_BOOK (bonobo_object_from_servant (servant)); - pas_book_queue_get_changes (book, listener, search); + pas_book_queue_get_changes (book, listener, change_id); } static void |