e-book-sexp

e-book-sexp

Synopsis

                    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);

Description

Details

EBookSExp

typedef struct {
	GObject parent_object;
	EBookSExpPrivate *priv;
} EBookSExp;


e_book_sexp_match_contact ()

gboolean            e_book_sexp_match_contact           (EBookSExp *sexp,
                                                         EContact *contact);

Checks if contact matches sexp.

sexp : an EBookSExp
contact : an EContact
Returns : TRUE if the contact matches, FALSE otherwise.

e_book_sexp_match_vcard ()

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.

e_book_sexp_new ()

EBookSExp*          e_book_sexp_new                     (const char *text);

Creates a new EBookSExp from text.

text : an s-expression to parse
Returns : A new EBookSExp.

e_book_sexp_parse ()

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.