00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef DBUS_GLIB_LOWLEVEL_H
00025 #define DBUS_GLIB_LOWLEVEL_H
00026
00027 #include <dbus/dbus-glib.h>
00028 #include <dbus/dbus.h>
00029
00030 G_BEGIN_DECLS
00031
00032 void dbus_set_g_error (GError **gerror,
00033 DBusError *derror);
00034
00035 #define DBUS_TYPE_CONNECTION (dbus_connection_get_g_type ())
00036 #define DBUS_TYPE_MESSAGE (dbus_message_get_g_type ())
00037 #define DBUS_TYPE_PENDING_CALL (dbus_pending_call_get_g_type ())
00038 GType dbus_connection_get_g_type (void) G_GNUC_CONST;
00039 GType dbus_message_get_g_type (void) G_GNUC_CONST;
00040 GType dbus_pending_call_get_g_type (void) G_GNUC_CONST;
00041
00042 void dbus_connection_setup_with_g_main (DBusConnection *connection,
00043 GMainContext *context);
00044 void dbus_server_setup_with_g_main (DBusServer *server,
00045 GMainContext *context);
00046
00047 void dbus_g_proxy_send (DBusGProxy *proxy,
00048 DBusMessage *message,
00049 dbus_uint32_t *client_serial);
00050
00051 DBusConnection* dbus_g_connection_get_connection (DBusGConnection *gconnection);
00052 DBusGConnection* dbus_connection_get_g_connection (DBusConnection *connection);
00053 DBusMessage* dbus_g_message_get_message (DBusGMessage *gmessage);
00054
00055
00056
00057
00058
00059
00060
00061 gchar* dbus_g_method_get_sender (DBusGMethodInvocation *context);
00062
00063 DBusMessage* dbus_g_method_get_reply (DBusGMethodInvocation *context);
00064
00065 void dbus_g_method_send_reply (DBusGMethodInvocation *context,
00066 DBusMessage *reply);
00067
00068 G_END_DECLS
00069
00070 #endif
00071
00072
00073