Top | ![]() |
![]() |
![]() |
![]() |
const |
camel_network_settings_get_auth_mechanism () |
|
camel_network_settings_dup_auth_mechanism () |
|
camel_network_settings_set_auth_mechanism () |
const |
camel_network_settings_get_host () |
|
camel_network_settings_dup_host () |
|
camel_network_settings_dup_host_ensure_ascii () |
|
camel_network_settings_set_host () |
|
camel_network_settings_get_port () |
|
camel_network_settings_set_port () |
CamelNetworkSecurityMethod | camel_network_settings_get_security_method () |
|
camel_network_settings_set_security_method () |
const |
camel_network_settings_get_user () |
|
camel_network_settings_dup_user () |
|
camel_network_settings_set_user () |
constgchar * camel_network_settings_get_auth_mechanism (CamelNetworkSettings *settings
);
Returns the mechanism name used to authenticate to a network service. Often this refers to a SASL mechanism such as "LOGIN" or "GSSAPI".
Since: 3.4
gchar * camel_network_settings_dup_auth_mechanism (CamelNetworkSettings *settings
);
Thread-safe variation of camel_network_settings_get_auth_mechanism()
.
Use this function when accessing settings
from multiple threads.
The returned string should be freed with g_free()
Since: 3.4
void camel_network_settings_set_auth_mechanism (CamelNetworkSettings *settings
,const
);gchar *auth_mechanism
Sets the mechanism name used to authenticate to a network service.
Often this refers to a SASL mechanism such as "LOGIN" or "GSSAPI".
The
Since: 3.4
constgchar * camel_network_settings_get_host (CamelNetworkSettings *settings
);
Returns the host name used to authenticate to a network service.
Since: 3.4
gchar * camel_network_settings_dup_host (CamelNetworkSettings *settings
);
Thread-safe variation of camel_network_settings_get_host()
.
Use this function when accessing settings
from multiple threads.
The returned string should be freed with g_free()
Since: 3.4
gchar * camel_network_settings_dup_host_ensure_ascii (CamelNetworkSettings *settings
);
Just like camel_network_settings_dup_host()
, only makes sure that
the returned host name will be converted into its ASCII form in case
of IDNA value.
Since: 3.16
void camel_network_settings_set_host (CamelNetworkSettings *settings
,const
);gchar *host
Sets the host name used to authenticate to a network service. The
Since: 3.4
guint16 camel_network_settings_get_port (CamelNetworkSettings *settings
);
Returns the port number used to authenticate to a network service.
Since: 3.4
void camel_network_settings_set_port (CamelNetworkSettings *settings
,);
guint16 port
Sets the port number used to authenticate to a network service.
Since: 3.4
CamelNetworkSecurityMethod
camel_network_settings_get_security_method
(CamelNetworkSettings *settings
);
Returns the method used to establish a secure (or unsecure) network connection.
Since: 3.2
void camel_network_settings_set_security_method (CamelNetworkSettings *settings
,CamelNetworkSecurityMethod method
);
Sets the method used to establish a secure (or unsecure) network connection. Note that changing this setting has no effect on an already-established network connection.
Since: 3.2
constgchar * camel_network_settings_get_user (CamelNetworkSettings *settings
);
Returns the user name used to authenticate to a network service.
Since: 3.4
gchar * camel_network_settings_dup_user (CamelNetworkSettings *settings
);
Thread-safe variation of camel_network_settings_get_user()
.
Use this function when accessing settings
from multiple threads.
The returned string should be freed with g_free()
Since: 3.4
void camel_network_settings_set_user (CamelNetworkSettings *settings
,const
);gchar *user
Sets the user name used to authenticate to a network service. The
Since: 3.4