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

Go to the source code of this file.

: The name being watched.

GBusNameVanishedCallback: @connection: The GDBusConnection the name is being watched on, or NULL.

@user_data: User data passed to g_bus_watch_name().

Invoked when the name being watched is known not to have to have an owner.

This is also invoked when the GDBusConnection on which the watch was established has been closed. In that case, @connection will be NULL.

Since: 2.26

typedef void(* GBusNameAppearedCallback) (GDBusConnection *connection, const gchar *name, const gchar *name_owner, gpointer user_data)
 
typedef void(* GBusNameVanishedCallback) (GDBusConnection *connection, const gchar *name, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL guint g_bus_watch_name (GBusType bus_type, const gchar *name, GBusNameWatcherFlags flags, GBusNameAppearedCallback name_appeared_handler, GBusNameVanishedCallback name_vanished_handler, gpointer user_data, GDestroyNotify user_data_free_func)
 
GIO_AVAILABLE_IN_ALL guint g_bus_watch_name_on_connection (GDBusConnection *connection, const gchar *name, GBusNameWatcherFlags flags, GBusNameAppearedCallback name_appeared_handler, GBusNameVanishedCallback name_vanished_handler, gpointer user_data, GDestroyNotify user_data_free_func)
 
GIO_AVAILABLE_IN_ALL guint g_bus_watch_name_with_closures (GBusType bus_type, const gchar *name, GBusNameWatcherFlags flags, GClosure *name_appeared_closure, GClosure *name_vanished_closure)
 
GIO_AVAILABLE_IN_ALL guint g_bus_watch_name_on_connection_with_closures (GDBusConnection *connection, const gchar *name, GBusNameWatcherFlags flags, GClosure *name_appeared_closure, GClosure *name_vanished_closure)
 
GIO_AVAILABLE_IN_ALL void g_bus_unwatch_name (guint watcher_id)
 

Typedef Documentation

◆ GBusNameAppearedCallback

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

Definition at line 45 of file gdbusnamewatching.h.

◆ GBusNameVanishedCallback

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

Definition at line 65 of file gdbusnamewatching.h.

Function Documentation

◆ g_bus_unwatch_name()

GIO_AVAILABLE_IN_ALL void g_bus_unwatch_name ( guint watcher_id)

◆ g_bus_watch_name()

GIO_AVAILABLE_IN_ALL guint g_bus_watch_name ( GBusType bus_type,
const gchar * name,
GBusNameWatcherFlags flags,
GBusNameAppearedCallback name_appeared_handler,
GBusNameVanishedCallback name_vanished_handler,
gpointer user_data,
GDestroyNotify user_data_free_func )

◆ g_bus_watch_name_on_connection()

GIO_AVAILABLE_IN_ALL guint g_bus_watch_name_on_connection ( GDBusConnection * connection,
const gchar * name,
GBusNameWatcherFlags flags,
GBusNameAppearedCallback name_appeared_handler,
GBusNameVanishedCallback name_vanished_handler,
gpointer user_data,
GDestroyNotify user_data_free_func )

◆ g_bus_watch_name_on_connection_with_closures()

GIO_AVAILABLE_IN_ALL guint g_bus_watch_name_on_connection_with_closures ( GDBusConnection * connection,
const gchar * name,
GBusNameWatcherFlags flags,
GClosure * name_appeared_closure,
GClosure * name_vanished_closure )

◆ g_bus_watch_name_with_closures()

GIO_AVAILABLE_IN_ALL guint g_bus_watch_name_with_closures ( GBusType bus_type,
const gchar * name,
GBusNameWatcherFlags flags,
GClosure * name_appeared_closure,
GClosure * name_vanished_closure )