![]() |
![]() |
![]() |
Evolution-Data-Server Manual: Address Book Backend (libedata-book) | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
struct EDataBook; #define E_DATA_BOOK_ERROR GError * e_data_book_create_error (EDataBookStatus status
,const gchar *custom_msg
); GError * e_data_book_create_error_fmt (EDataBookStatus status
,const gchar *custom_msg_fmt
,...
); const gchar * e_data_book_status_to_string (EDataBookStatus status
); #define e_return_data_book_error_if_fail (expr, _code) EDataBook * e_data_book_new (EBookBackend *backend
,ESource *source
); guint e_data_book_register_gdbus_object (EDataBook *cal
,GDBusConnection *connection
,const gchar *object_path
,GError **error
); EBookBackend * e_data_book_get_backend (EDataBook *book
); ESource * e_data_book_get_source (EDataBook *book
); void e_data_book_respond_open (EDataBook *book
,guint32 opid
,GError *error
); void e_data_book_respond_remove (EDataBook *book
,guint32 opid
,GError *error
); void e_data_book_respond_create (EDataBook *book
,guint32 opid
,GError *error
,EContact *contact
); void e_data_book_respond_remove_contacts (EDataBook *book
,guint32 opid
,GError *error
,GList *ids
); void e_data_book_respond_modify (EDataBook *book
,guint32 opid
,GError *error
,EContact *contact
); void e_data_book_respond_authenticate_user (EDataBook *book
,guint32 opid
,GError *error
); void e_data_book_respond_get_supported_fields (EDataBook *book
,guint32 opid
,GError *error
,GList *fields
); void e_data_book_respond_get_required_fields (EDataBook *book
,guint32 opid
,GError *error
,GList *fields
); void e_data_book_respond_get_supported_auth_methods (EDataBook *book
,guint32 opid
,GError *error
,GList *fields
); void e_data_book_respond_get_contact (EDataBook *book
,guint32 opid
,GError *error
,const gchar *vcard
); void e_data_book_respond_get_contact_list (EDataBook *book
,guint32 opid
,GError *error
,GList *cards
); void e_data_book_respond_get_changes (EDataBook *book
,guint32 opid
,GError *error
,GList *changes
); void e_data_book_report_writable (EDataBook *book
,gboolean writable
); void e_data_book_report_connection_status (EDataBook *book
,gboolean is_online
); void e_data_book_report_auth_required (EDataBook *book
);
GError * e_data_book_create_error (EDataBookStatus status
,const gchar *custom_msg
);
|
|
|
|
Returns : |
Since 2.32
GError * e_data_book_create_error_fmt (EDataBookStatus status
,const gchar *custom_msg_fmt
,...
);
|
|
|
|
|
|
Returns : |
Since 2.32
const gchar * e_data_book_status_to_string (EDataBookStatus status
);
|
|
Returns : |
Since 2.32
#define e_return_data_book_error_if_fail(expr, _code)
|
|
|
Since 2.32
EDataBook * e_data_book_new (EBookBackend *backend
,ESource *source
);
|
|
|
|
Returns : |
guint e_data_book_register_gdbus_object (EDataBook *cal
,GDBusConnection *connection
,const gchar *object_path
,GError **error
);
Registers GDBus object of this EDataBook.
|
|
|
|
|
|
|
|
Returns : |
Since 2.32
EBookBackend * e_data_book_get_backend (EDataBook *book
);
|
|
Returns : |
void e_data_book_respond_open (EDataBook *book
,guint32 opid
,GError *error
);
|
|
|
|
|
void e_data_book_respond_remove (EDataBook *book
,guint32 opid
,GError *error
);
|
|
|
|
|
void e_data_book_respond_create (EDataBook *book
,guint32 opid
,GError *error
,EContact *contact
);
|
|
|
|
|
|
|
void e_data_book_respond_remove_contacts (EDataBook *book
,guint32 opid
,GError *error
,GList *ids
);
|
|
|
|
|
|
|
void e_data_book_respond_modify (EDataBook *book
,guint32 opid
,GError *error
,EContact *contact
);
|
|
|
|
|
|
|
void e_data_book_respond_authenticate_user (EDataBook *book
,guint32 opid
,GError *error
);
|
|
|
|
|
void e_data_book_respond_get_supported_fields (EDataBook *book
,guint32 opid
,GError *error
,GList *fields
);
|
|
|
|
|
|
|
void e_data_book_respond_get_required_fields (EDataBook *book
,guint32 opid
,GError *error
,GList *fields
);
|
|
|
|
|
|
|
void e_data_book_respond_get_supported_auth_methods (EDataBook *book
,guint32 opid
,GError *error
,GList *fields
);
|
|
|
|
|
|
|
void e_data_book_respond_get_contact (EDataBook *book
,guint32 opid
,GError *error
,const gchar *vcard
);
|
|
|
|
|
|
|
void e_data_book_respond_get_contact_list (EDataBook *book
,guint32 opid
,GError *error
,GList *cards
);
|
|
|
|
|
|
|
void e_data_book_respond_get_changes (EDataBook *book
,guint32 opid
,GError *error
,GList *changes
);
|
|
|
|
|
|
|
void e_data_book_report_writable (EDataBook *book
,gboolean writable
);
|
|
|
void e_data_book_report_connection_status (EDataBook *book
,gboolean is_online
);
|
|
|