GoaMail

GoaMail — Generated C code for the org.gnome.OnlineAccounts.Mail D-Bus interface

Functions

guint goa_mail_override_properties ()
GDBusInterfaceInfo * goa_mail_interface_info ()
const gchar * goa_mail_get_email_address ()
gchar * goa_mail_dup_email_address ()
void goa_mail_set_email_address ()
const gchar * goa_mail_get_name ()
gchar * goa_mail_dup_name ()
void goa_mail_set_name ()
const gchar * goa_mail_get_imap_host ()
gchar * goa_mail_dup_imap_host ()
void goa_mail_set_imap_host ()
gboolean goa_mail_get_imap_supported ()
void goa_mail_set_imap_supported ()
gboolean goa_mail_get_imap_accept_ssl_errors ()
void goa_mail_set_imap_accept_ssl_errors ()
gboolean goa_mail_get_imap_use_ssl ()
void goa_mail_set_imap_use_ssl ()
gboolean goa_mail_get_imap_use_tls ()
void goa_mail_set_imap_use_tls ()
const gchar * goa_mail_get_imap_user_name ()
gchar * goa_mail_dup_imap_user_name ()
void goa_mail_set_imap_user_name ()
const gchar * goa_mail_get_smtp_host ()
gchar * goa_mail_dup_smtp_host ()
void goa_mail_set_smtp_host ()
gboolean goa_mail_get_smtp_supported ()
void goa_mail_set_smtp_supported ()
gboolean goa_mail_get_smtp_accept_ssl_errors ()
void goa_mail_set_smtp_accept_ssl_errors ()
gboolean goa_mail_get_smtp_use_auth ()
void goa_mail_set_smtp_use_auth ()
gboolean goa_mail_get_smtp_auth_login ()
void goa_mail_set_smtp_auth_login ()
gboolean goa_mail_get_smtp_auth_plain ()
void goa_mail_set_smtp_auth_plain ()
gboolean goa_mail_get_smtp_auth_xoauth2 ()
void goa_mail_set_smtp_auth_xoauth2 ()
gboolean goa_mail_get_smtp_use_ssl ()
void goa_mail_set_smtp_use_ssl ()
gboolean goa_mail_get_smtp_use_tls ()
void goa_mail_set_smtp_use_tls ()
const gchar * goa_mail_get_smtp_user_name ()
gchar * goa_mail_dup_smtp_user_name ()
void goa_mail_set_smtp_user_name ()
void goa_mail_proxy_new ()
GoaMail * goa_mail_proxy_new_finish ()
GoaMail * goa_mail_proxy_new_sync ()
void goa_mail_proxy_new_for_bus ()
GoaMail * goa_mail_proxy_new_for_bus_finish ()
GoaMail * goa_mail_proxy_new_for_bus_sync ()
GoaMail * goa_mail_skeleton_new ()

Properties

gchar * email-address Read / Write
gboolean imap-accept-ssl-errors Read / Write
gchar * imap-host Read / Write
gboolean imap-supported Read / Write
gboolean imap-use-ssl Read / Write
gboolean imap-use-tls Read / Write
gchar * imap-user-name Read / Write
gchar * name Read / Write
gboolean smtp-accept-ssl-errors Read / Write
gboolean smtp-auth-login Read / Write
gboolean smtp-auth-plain Read / Write
gboolean smtp-auth-xoauth2 Read / Write
gchar * smtp-host Read / Write
gboolean smtp-supported Read / Write
gboolean smtp-use-auth Read / Write
gboolean smtp-use-ssl Read / Write
gboolean smtp-use-tls Read / Write
gchar * smtp-user-name Read / Write

Types and Values

Object Hierarchy

    GInterface
    ╰── GoaMail
    GObject
    ├── GDBusInterfaceSkeleton
       ╰── GoaMailSkeleton
    ╰── GDBusProxy
        ╰── GoaMailProxy

Prerequisites

GoaMail requires GObject.

Implemented Interfaces

GoaMailProxy implements GDBusInterface, GInitable, GAsyncInitable and GoaMail.

GoaMailSkeleton implements GDBusInterface and GoaMail.

Known Implementations

GoaMail is implemented by GoaMailProxy and GoaMailSkeleton.

Description

This section contains code for working with the org.gnome.OnlineAccounts.Mail D-Bus interface in C.

Functions

goa_mail_override_properties ()

guint
goa_mail_override_properties (GObjectClass *klass,
                              guint property_id_begin);

Overrides all GObject properties in the GoaMail interface for a concrete class. The properties are overridden in the order they are defined.

Parameters

klass

The class structure for a GObject derived class.

 

property_id_begin

The property id to assign to the first overridden property.

 

Returns

The last property id.


goa_mail_interface_info ()

GDBusInterfaceInfo *
goa_mail_interface_info (void);

Gets a machine-readable description of the org.gnome.OnlineAccounts.Mail D-Bus interface.

Returns

A GDBusInterfaceInfo. Do not free.

[transfer none]


goa_mail_get_email_address ()

const gchar *
goa_mail_get_email_address (GoaMail *object);

Gets the value of the "EmailAddress" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object was constructed. Use goa_mail_dup_email_address() if on another thread.

[skip]

Parameters

object

A GoaMail.

 

Returns

The property value or NULL if the property is not set. Do not free the returned value, it belongs to object .

[transfer none]


goa_mail_dup_email_address ()

gchar *
goa_mail_dup_email_address (GoaMail *object);

Gets a copy of the "EmailAddress" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

[skip]

Parameters

object

A GoaMail.

 

Returns

The property value or NULL if the property is not set. The returned value should be freed with g_free().

[transfer full]


goa_mail_set_email_address ()

void
goa_mail_set_email_address (GoaMail *object,
                            const gchar *value);

Sets the "EmailAddress" D-Bus property to value .

Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.

[skip]

Parameters

object

A GoaMail.

 

value

The value to set.

 

goa_mail_get_name ()

const gchar *
goa_mail_get_name (GoaMail *object);

Gets the value of the "Name" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object was constructed. Use goa_mail_dup_name() if on another thread.

[skip]

Parameters

object

A GoaMail.

 

Returns

The property value or NULL if the property is not set. Do not free the returned value, it belongs to object .

[transfer none]

Since: 3.8.0


goa_mail_dup_name ()

gchar *
goa_mail_dup_name (GoaMail *object);

Gets a copy of the "Name" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

[skip]

Parameters

object

A GoaMail.

 

Returns

The property value or NULL if the property is not set. The returned value should be freed with g_free().

[transfer full]

Since: 3.8.0


goa_mail_set_name ()

void
goa_mail_set_name (GoaMail *object,
                   const gchar *value);

Sets the "Name" D-Bus property to value .

Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.

[skip]

Parameters

object

A GoaMail.

 

value

The value to set.

 

Since: 3.8.0


goa_mail_get_imap_host ()

const gchar *
goa_mail_get_imap_host (GoaMail *object);

Gets the value of the "ImapHost" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object was constructed. Use goa_mail_dup_imap_host() if on another thread.

[skip]

Parameters

object

A GoaMail.

 

Returns

The property value or NULL if the property is not set. Do not free the returned value, it belongs to object .

[transfer none]


goa_mail_dup_imap_host ()

gchar *
goa_mail_dup_imap_host (GoaMail *object);

Gets a copy of the "ImapHost" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

[skip]

Parameters

object

A GoaMail.

 

Returns

The property value or NULL if the property is not set. The returned value should be freed with g_free().

[transfer full]


goa_mail_set_imap_host ()

void
goa_mail_set_imap_host (GoaMail *object,
                        const gchar *value);

Sets the "ImapHost" D-Bus property to value .

Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.

[skip]

Parameters

object

A GoaMail.

 

value

The value to set.

 

goa_mail_get_imap_supported ()

gboolean
goa_mail_get_imap_supported (GoaMail *object);

Gets the value of the "ImapSupported" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

[skip]

Parameters

object

A GoaMail.

 

Returns

The property value.


goa_mail_set_imap_supported ()

void
goa_mail_set_imap_supported (GoaMail *object,
                             gboolean value);

Sets the "ImapSupported" D-Bus property to valu