Top | ![]() |
![]() |
![]() |
![]() |
ESourceGoaESourceGoa — ESource extension for GNOME Online Accounts |
const |
e_source_goa_get_account_id () |
|
e_source_goa_dup_account_id () |
|
e_source_goa_set_account_id () |
const |
e_source_goa_get_calendar_url () |
|
e_source_goa_dup_calendar_url () |
|
e_source_goa_set_calendar_url () |
const |
e_source_goa_get_contacts_url () |
|
e_source_goa_dup_contacts_url () |
|
e_source_goa_set_contacts_url () |
const |
e_source_goa_get_name () |
|
e_source_goa_dup_name () |
|
e_source_goa_set_name () |
const |
e_source_goa_get_address () |
|
e_source_goa_dup_address () |
|
e_source_goa_set_address () |
The ESourceGoa extension associates an ESource with a
Access the extension as follows:
#include <libedataserver/libedataserver.h> ESourceGoa *extension; extension = e_source_get_extension (source, E_SOURCE_EXTENSION_GOA);
constgchar * e_source_goa_get_account_id (ESourceGoa *extension
);
Returns the identifier string of the GNOME Online Account associated
with the ESource to which extension
belongs.
Since: 3.6
gchar * e_source_goa_dup_account_id (ESourceGoa *extension
);
Thread-safe variation of e_source_goa_get_account_id()
.
Use this function when accessing extension
from multiple threads.
The returned string should be freed with g_free()
Since: 3.6
void e_source_goa_set_account_id (ESourceGoa *extension
,const
);gchar *account_id
Sets the identifier string of the GNOME Online Account associated
with the ESource to which extension
belongs.
The internal copy of account_id
is automatically stripped of leading
and trailing whitespace. If the resulting string is empty, NULL
extension |
an ESourceGoa |
|
account_id |
the associated GNOME Online Account ID, or |
[allow-none] |
Since: 3.6
constgchar * e_source_goa_get_calendar_url (ESourceGoa *extension
);
Returns the calendar URL string of the GNOME Online Account associated
with the ESource to which extension
belongs. Can be NULL
Since: 3.8
gchar * e_source_goa_dup_calendar_url (ESourceGoa *extension
);
Thread-safe variation of e_source_goa_get_calendar_url()
.
Use this function when accessing extension
from multiple threads.
The returned string should be freed with g_free()
Since: 3.8
void e_source_goa_set_calendar_url (ESourceGoa *extension
,const
);gchar *calendar_url
Sets the calendar URL of the GNOME Online Account associated
with the ESource to which extension
belongs.
The internal copy of calendar_url
is automatically stripped of leading
and trailing whitespace. If the resulting string is empty, NULL
extension |
an ESourceGoa |
|
calendar_url |
the associated GNOME Online Account
calendar URL, or |
[allow-none] |
Since: 3.8
constgchar * e_source_goa_get_contacts_url (ESourceGoa *extension
);
Returns the contacts URL string of the GNOME Online Account associated
with the ESource to which extension
belongs. Can be NULL
Since: 3.8
gchar * e_source_goa_dup_contacts_url (ESourceGoa *extension
);
Thread-safe variation of e_source_goa_get_contacts_url()
.
Use this function when accessing extension
from multiple threads.
The returned string should be freed with g_free()
Since: 3.8
void e_source_goa_set_contacts_url (ESourceGoa *extension
,const
);gchar *contacts_url
Sets the contacts URL of the GNOME Online Account associated
with the ESource to which extension
belongs.
The internal copy of contacts_url
is automatically stripped of leading
and trailing whitespace. If the resulting string is empty, NULL
extension |
an ESourceGoa |
|
contacts_url |
the associated GNOME Online Account
contacts URL, or |
[allow-none] |
Since: 3.8
constgchar * e_source_goa_get_name (ESourceGoa *extension
);
Returns the original Name of the GNOME Online Account associated
with the ESource to which extension
belongs. Can be NULL
Since: 3.24
gchar * e_source_goa_dup_name (ESourceGoa *extension
);
Thread-safe variation of e_source_goa_get_name()
.
Use this function when accessing extension
from multiple threads.
The returned string should be freed with g_free()
Since: 3.24
void e_source_goa_set_name (ESourceGoa *extension
,const
);gchar *name
Sets the Name of the GNOME Online Account associated
with the ESource to which extension
belongs.
The internal copy of name
is automatically stripped of leading
and trailing whitespace. If the resulting string is empty, NULL
extension |
an ESourceGoa |
|
name |
the associated GNOME Online Account's Name, or |
[nullable] |
Since: 3.24
constgchar * e_source_goa_get_address (ESourceGoa *extension
);
Returns the original Address of the GNOME Online Account associated
with the ESource to which extension
belongs. Can be NULL
Since: 3.24
gchar * e_source_goa_dup_address (ESourceGoa *extension
);
Thread-safe variation of e_source_goa_get_address()
.
Use this function when accessing extension
from multiple threads.
The returned string should be freed with g_free()
Since: 3.24
void e_source_goa_set_address (ESourceGoa *extension
,const
);gchar *address
Sets the Address of the GNOME Online Account associated
with the ESource to which extension
belongs.
The internal copy of address
is automatically stripped of leading
and trailing whitespace. If the resulting string is empty, NULL
extension |
an ESourceGoa |
|
address |
the associated GNOME Online Account's Address, or |
[nullable] |
Since: 3.24
#define E_SOURCE_EXTENSION_GOA "GNOME Online Accounts"
Pass this extension name to e_source_get_extension()
to access
ESourceGoa. This is also used as a group name in key files.
Since: 3.6
struct ESourceGoa { };
Contains only private data that should be read and manipulated using the functions below.
Since: 3.6