Top | ![]() |
![]() |
![]() |
![]() |
|
e_network_monitor_get_default () |
|
e_network_monitor_list_gio_names () |
|
e_network_monitor_dup_gio_name () |
|
e_network_monitor_set_gio_name () |
GNetworkMonitor * e_network_monitor_get_default (void
);
Gets the default ENetworkMonitor. The caller should not unref the returned instance.
The ENetworkMonitor implements the
Since: 3.22
GSList * e_network_monitor_list_gio_names (ENetworkMonitor *network_monitor
);
Get a list of available GIO names for the e_network_monitor_set_gio_name()
.
A newly allocated
[transfer full][element-type utf8]
Since: 3.22
gchar * e_network_monitor_dup_gio_name (ENetworkMonitor *network_monitor
);
Get currently set GIO name for the network availability checks.
See e_network_monitor_set_gio_name()
for more details.
A newly allocated string, a GIO name
of the underlying GNetworkMonitor which is set to be used.
The returned string should be freed with g_free()
[transfer full]
Since: 3.22
void e_network_monitor_set_gio_name (ENetworkMonitor *network_monitor
,const
);gchar *gio_name
Set a gio_name
of the NULL
e_network_monitor_list_gio_names()
for a list of available
implementations. A special value, E_NETWORK_MONITOR_ALWAYS_ONLINE_NAME
, can
be used to report the network as always reachable. When an unknown GIO
name is used the default g_network_monitor_get_default()
network_monitor |
||
gio_name |
a GIO name of a |
[nullable] |
Since: 3.22
struct ENetworkMonitor { };
Contains only private data that should be read and manipulated using
the functions below. Implements
Since: 3.22