File indexing completed on 2025-01-18 09:55:12
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #if !defined (DBUS_INSIDE_DBUS_H) && !defined (DBUS_COMPILATION)
0024 #error "Only <dbus/dbus.h> can be included directly, this file may disappear or change contents."
0025 #endif
0026
0027 #ifndef DBUS_BUS_H
0028 #define DBUS_BUS_H
0029
0030 #include <dbus/dbus-connection.h>
0031
0032 DBUS_BEGIN_DECLS
0033
0034
0035
0036
0037
0038
0039 DBUS_EXPORT
0040 DBusConnection *dbus_bus_get (DBusBusType type,
0041 DBusError *error);
0042 DBUS_EXPORT
0043 DBusConnection *dbus_bus_get_private (DBusBusType type,
0044 DBusError *error);
0045
0046 DBUS_EXPORT
0047 dbus_bool_t dbus_bus_register (DBusConnection *connection,
0048 DBusError *error);
0049 DBUS_EXPORT
0050 dbus_bool_t dbus_bus_set_unique_name (DBusConnection *connection,
0051 const char *unique_name);
0052 DBUS_EXPORT
0053 const char* dbus_bus_get_unique_name (DBusConnection *connection);
0054 DBUS_EXPORT
0055 unsigned long dbus_bus_get_unix_user (DBusConnection *connection,
0056 const char *name,
0057 DBusError *error);
0058 DBUS_EXPORT
0059 char* dbus_bus_get_id (DBusConnection *connection,
0060 DBusError *error);
0061 DBUS_EXPORT
0062 int dbus_bus_request_name (DBusConnection *connection,
0063 const char *name,
0064 unsigned int flags,
0065 DBusError *error);
0066 DBUS_EXPORT
0067 int dbus_bus_release_name (DBusConnection *connection,
0068 const char *name,
0069 DBusError *error);
0070 DBUS_EXPORT
0071 dbus_bool_t dbus_bus_name_has_owner (DBusConnection *connection,
0072 const char *name,
0073 DBusError *error);
0074
0075 DBUS_EXPORT
0076 dbus_bool_t dbus_bus_start_service_by_name (DBusConnection *connection,
0077 const char *name,
0078 dbus_uint32_t flags,
0079 dbus_uint32_t *reply,
0080 DBusError *error);
0081
0082 DBUS_EXPORT
0083 void dbus_bus_add_match (DBusConnection *connection,
0084 const char *rule,
0085 DBusError *error);
0086 DBUS_EXPORT
0087 void dbus_bus_remove_match (DBusConnection *connection,
0088 const char *rule,
0089 DBusError *error);
0090
0091
0092
0093 DBUS_END_DECLS
0094
0095 #endif