diff options
author | Havoc Pennington <hp@redhat.com> | 2003-07-08 05:07:32 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-07-08 05:07:32 +0000 |
commit | d8abf955f5bff3e83cabd267883039f7a42c98c3 (patch) | |
tree | 8c3f33fcb6fac2593f44bf5cf8cd48f7a46dce1f /dbus/dbus-connection.c | |
parent | 3f1ad214b5e5c63697ee208d459b304a4ef6e79b (diff) |
2003-07-08 Havoc Pennington <hp@pobox.com>
* dbus/dbus-object.h: sketch out an API for registering objects
with a connection, that allows us to use as little as 24 bytes
per object and lets application code represent an object in
any conceivable way.
* dbus/dbus-object-registry.c: implement the hard bits of the
DBusConnection aspect of object API. Not yet wired up.
Diffstat (limited to 'dbus/dbus-connection.c')
-rw-r--r-- | dbus/dbus-connection.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dbus/dbus-connection.c b/dbus/dbus-connection.c index 01b2a7bf..237c195b 100644 --- a/dbus/dbus-connection.c +++ b/dbus/dbus-connection.c @@ -920,6 +920,22 @@ _dbus_connection_handle_watch (DBusWatch *watch, return retval; } +/** + * Get the ID to be used in the high bits of an object ID for an object + * registered with this connection. + * + * @todo implement this function + * + * @param connection the connection. + * @returns the connection portion of the object ID + */ +dbus_uint32_t +_dbus_connection_get_id (DBusConnection *connection) +{ + /* FIXME */ + return 1492; +} + /** @} */ /** |