Hi there

I would like to know if someone could explain the Query String Format 
for me please. I'm refering to the query string  that's passed in as a 
parameter to the following methods from 
"$evosource_topdir/addressbook/backend/ebook/e-book.h".

snip >>>>>>>>>>>>>>>>>

guint     e_book_get_cursor               (EBook                 *book,
                       char                  *query,
                       EBookCursorCallback    cb,
                       gpointer               closure);

guint     e_book_get_book_view            (EBook                 *book,
                       const gchar           *query,
                       EBookBookViewCallback  cb,
                       gpointer               closure);

snip <<<<<<<<<<<<<<<<

In *$evosource_topdir/addressbook/backend/idl/addressbook.idl* there is 
a comment attached to the getcursor() method which claims that *The 
syntax for the query string is not yet defined*. This seems to 
contradict the sourcecode found in 
*$evosource_topdir/addressbook/backend/ebook/address-conduit.c* wherein 
getcursor() is called as follows:

snip >>>>>>>>>

e_book_get_cursor (book, "(contains \"full_name\" \"\")", cursor_cb, ctxt);

snip <<<<<<<<<<

calling the above method with the *query* parameter set to *""* 
generates a *ECardCursor* of zero length in the *cursor_cb()* method.

regards
Stephan


_______________________________________________
evolution-hackers maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers

Reply via email to