Top |
Types and Values
#define | E_BOOK_CLIENT_ERROR |
enum | EBookClientViewFlags |
enum | EBookClientError |
enum | EDataBookStatus |
enum | EBookIndexType |
enum | EBookCursorSortType |
enum | EBookCursorOrigin |
enum | EBookCursorStepFlags |
enum | EBookViewStatus |
enum | EBookChangeType |
EBookChange |
Functions
e_book_client_error_to_string ()
const gchar *
e_book_client_error_to_string (EBookClientError code
);
Get localized human readable description of the given error code.
Since: 3.2
e_book_client_error_create ()
GError * e_book_client_error_create (EBookClientError code
,const gchar *custom_msg
);
e_book_client_error_create
has been deprecated since version 3.8 and should not be used in newly-written code.
Just use the GError API directly.
Parameters
code |
an EBookClientError code to create |
|
custom_msg |
custom message to use for the error; can be |
Returns
a new GError containing an E_BOOK_CLIENT_ERROR of the given
code
. If the custom_msg
is NULL, then the error message is
the one returned from e_book_client_error_to_string()
for the code
,
otherwise the given message is used.
Returned pointer should be freed with g_error_free()
.
Since: 3.2
Types and Values
E_BOOK_CLIENT_ERROR
#define E_BOOK_CLIENT_ERROR e_book_client_error_quark ()
Error domain for EBookClient errors
Since: 3.2
enum EBookClientViewFlags
Flags that control the behaviour of an EBookClientView.
Members
Symbolic value for no flags |
||
If this flag is set then all contacts matching the view's query will
be sent as notifications when starting the view, otherwise only future
changes will be reported. The default for a EBookClientView is |
Since: 3.4
enum EBookClientError
Error codes returned by EBookClient APIs, if an EClientError was not available.
Members
Requested book did not exist |
||
Contact referred to was not found |
||
Tried to add a contact which already exists |
||
Referred ESource does not exist |
||
Out of disk space |
Since: 3.2
enum EDataBookStatus
Error codes for the E_DATA_BOOK_ERROR domain, these are used in the backend.
Members
No error |
||
Backend was busy |
||
Offsite repository was not online |
||
Permission denied |
||
Contact referred to was not found |
||
Tried to add a contact which already exists |
||
Authentication failure |
||
Authentication required for this operation |
||
An unsupported EContactField was specified for a given operation |
||
The authentication method is unsupported |
||
TLS was not available |
||
Book did not exist |
||
Book was removed |
||
XXX Document me |
||
Exceeded limit of seach size |
||
Exceeded time limit for seach |
||
Given search espression is invalid |
||
Given search espression was refused |
||
Unable to cancel an operation |
||
An other error occurred |
||
Invalid server version |
||
Disk space insufficient |
||
Invalid argument |
||
Unsupported operation |
||
Tried to access a book which is not yet open |
||
Out of sync state |
Since: 3.6
enum EBookIndexType
The type of index defined by e_source_backend_summary_setup_set_indexed_fields()
Members
An index suitable for searching contacts with a prefix pattern |
||
An index suitable for searching contacts with a suffix pattern |
||
An index suitable for searching contacts for phone numbers. Phone numbers must be convertible into FQTN according to E.164 to be stored in this index. The number "+9999999" for instance won't be stored because the country calling code "+999" currently is not assigned. |
||
Indicates that a given EContactField should be usable as a sort key. |
enum EBookCursorOrigin
Specifies the start position to in the list of traversed contacts
in calls to e_book_client_cursor_step()
.
When an EBookClientCursor is created, the current position implied by E_BOOK_CURSOR_ORIGIN_CURRENT
is the same as E_BOOK_CURSOR_ORIGIN_BEGIN
.
Since: 3.12
enum EBookViewStatus
EBookViewStatus
has been deprecated since version 3.2 and should not be used in newly-written code.
Use EBookClientView instead.
Status messages used in notifications in the deprecated EBookView class
enum EBookChangeType
EBookChangeType
has been deprecated since version 3.2 and should not be used in newly-written code.
The type of change in an EBookChange
EBookChange
typedef struct { EBookChangeType change_type; EContact *contact; } EBookChange;
EBookChange
has been deprecated since version 3.2 and should not be used in newly-written code.
This is a part of the deprecated EBook API.
Members
EBookChangeType |
The EBookChangeType |
|
EContact * |
The EContact which changed |