Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdbusnameowning.h File Reference
#include <gio/giotypes.h>

Go to the source code of this file.

Typedefs

: The name that is requested to be owned.

GBusAcquiredCallback: @connection: The GDBusConnection to a message bus.

@user_data: User data passed to g_bus_own_name().

Invoked when a connection to a message bus has been obtained.

Since: 2.26

typedef void(* GBusAcquiredCallback) (GDBusConnection *connection, const gchar *name, gpointer user_data)
 

: The name being owned.

GBusNameLostCallback: @connection: The GDBusConnection on which to acquire the name or NULL if the connection was disconnected.

@user_data: User data passed to g_bus_own_name() or g_bus_own_name_on_connection().

Invoked when the name is lost or @connection has been closed.

Since: 2.26

typedef void(* GBusNameAcquiredCallback) (GDBusConnection *connection, const gchar *name, gpointer user_data)
 
typedef void(* GBusNameLostCallback) (GDBusConnection *connection, const gchar *name, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL guint g_bus_own_name (GBusType bus_type, const gchar *name, GBusNameOwnerFlags flags, GBusAcquiredCallback bus_acquired_handler, GBusNameAcquiredCallback name_acquired_handler, GBusNameLostCallback name_lost_handler, gpointer user_data, GDestroyNotify user_data_free_func)
 
GIO_AVAILABLE_IN_ALL guint g_bus_own_name_on_connection (GDBusConnection *connection, const gchar *name, GBusNameOwnerFlags flags, GBusNameAcquiredCallback name_acquired_handler, GBusNameLostCallback name_lost_handler, gpointer user_data, GDestroyNotify user_data_free_func)
 
GIO_AVAILABLE_IN_ALL guint g_bus_own_name_with_closures (GBusType bus_type, const gchar *name, GBusNameOwnerFlags flags, GClosure *bus_acquired_closure, GClosure *name_acquired_closure, GClosure *name_lost_closure)
 
GIO_AVAILABLE_IN_ALL guint g_bus_own_name_on_connection_with_closures (GDBusConnection *connection, const gchar *name, GBusNameOwnerFlags flags, GClosure *name_acquired_closure, GClosure *name_lost_closure)
 
GIO_AVAILABLE_IN_ALL void g_bus_unown_name (guint owner_id)
 

Typedef Documentation

◆ GBusAcquiredCallback

typedef void(* GBusAcquiredCallback) (GDBusConnection *connection, const gchar *name, gpointer user_data)

Definition at line 44 of file gdbusnameowning.h.

◆ GBusNameAcquiredCallback

typedef void(* GBusNameAcquiredCallback) (GDBusConnection *connection, const gchar *name, gpointer user_data)

Definition at line 58 of file gdbusnameowning.h.

◆ GBusNameLostCallback

typedef void(* GBusNameLostCallback) (GDBusConnection *connection, const gchar *name, gpointer user_data)

Definition at line 73 of file gdbusnameowning.h.

Function Documentation

◆ g_bus_own_name()

GIO_AVAILABLE_IN_ALL guint g_bus_own_name ( GBusType bus_type,
const gchar * name,
GBusNameOwnerFlags flags,
GBusAcquiredCallback bus_acquired_handler,
GBusNameAcquiredCallback name_acquired_handler,
GBusNameLostCallback name_lost_handler,
gpointer user_data,
GDestroyNotify user_data_free_func )

◆ g_bus_own_name_on_connection()

GIO_AVAILABLE_IN_ALL guint g_bus_own_name_on_connection ( GDBusConnection * connection,
const gchar * name,
GBusNameOwnerFlags flags,
GBusNameAcquiredCallback name_acquired_handler,
GBusNameLostCallback name_lost_handler,
gpointer user_data,
GDestroyNotify user_data_free_func )

◆ g_bus_own_name_on_connection_with_closures()

GIO_AVAILABLE_IN_ALL guint g_bus_own_name_on_connection_with_closures ( GDBusConnection * connection,
const gchar * name,
GBusNameOwnerFlags flags,
GClosure * name_acquired_closure,
GClosure * name_lost_closure )

◆ g_bus_own_name_with_closures()

GIO_AVAILABLE_IN_ALL guint g_bus_own_name_with_closures ( GBusType bus_type,
const gchar * name,
GBusNameOwnerFlags flags,
GClosure * bus_acquired_closure,
GClosure * name_acquired_closure,
GClosure * name_lost_closure )

◆ g_bus_unown_name()

GIO_AVAILABLE_IN_ALL void g_bus_unown_name ( guint owner_id)