mirror of git://git.sysmocom.de/ofono
gdbus: Add g_dbus_get_flags function
The g_dbus_get_flags function enables detection of when the G_DBUS_FLAG_ENABLE_EXPERIMENTAL is set.
This commit is contained in:
parent
dae225a0d6
commit
73e517bcca
|
@ -216,6 +216,7 @@ struct GDBusSecurityTable {
|
||||||
.flags = G_DBUS_SIGNAL_FLAG_EXPERIMENTAL
|
.flags = G_DBUS_SIGNAL_FLAG_EXPERIMENTAL
|
||||||
|
|
||||||
void g_dbus_set_flags(int flags);
|
void g_dbus_set_flags(int flags);
|
||||||
|
int g_dbus_get_flags(void);
|
||||||
|
|
||||||
gboolean g_dbus_register_interface(DBusConnection *connection,
|
gboolean g_dbus_register_interface(DBusConnection *connection,
|
||||||
const char *path, const char *name,
|
const char *path, const char *name,
|
||||||
|
|
|
@ -1816,3 +1816,8 @@ void g_dbus_set_flags(int flags)
|
||||||
{
|
{
|
||||||
global_flags = flags;
|
global_flags = flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int g_dbus_get_flags(void)
|
||||||
|
{
|
||||||
|
return global_flags;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue