Evolution API Reference: libebook, the Addressbook Library | ||||
---|---|---|---|---|
EBookSExp; gboolean e_book_sexp_match_contact (EBookSExp *sexp, EContact *contact); gboolean e_book_sexp_match_vcard (EBookSExp *sexp, const char *vcard); EBookSExp* e_book_sexp_new (const char *text); gboolean e_book_sexp_parse (EBookSExp *sexp, const char *text);
gboolean e_book_sexp_match_contact (EBookSExp *sexp, EContact *contact);
Checks if contact
matches sexp
.
gboolean e_book_sexp_match_vcard (EBookSExp *sexp, const char *vcard);
Checks if vcard
matches sexp
.
sexp : |
an EBookSExp |
vcard : |
a VCard string |
Returns : | TRUE if the VCard matches, FALSE otherwise.
|
EBookSExp* e_book_sexp_new (const char *text);
Creates a new EBookSExp from text
.
text : |
an s-expression to parse |
Returns : | A new EBookSExp. |
gboolean e_book_sexp_parse (EBookSExp *sexp, const char *text);
Replaces the internal state of sexp
with one based upon text
.
sexp : |
an EBookSexp to parse the text into |
text : |
an s-expression to parse |
Returns : | TRUE if the text was successfully parsed.
|