summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-server.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-06-22 19:39:47 +0000
committerHavoc Pennington <hp@redhat.com>2003-06-22 19:39:47 +0000
commit6843ad31769c088ca259020fd9ea8dfb3a51f68e (patch)
tree208e287bc200298da5514f4d32704f3e8ef42423 /dbus/dbus-server.h
parent8a71cf33ef8f35669dbdb39ef2f12c5a3dfebf33 (diff)
2003-06-22 Havoc Pennington <hp@pobox.com>
* dbus/dbus-dataslot.c (_dbus_data_slot_allocator_unref) (_dbus_data_slot_allocator_alloc): rework these to keep a reference count on each slot and automatically manage a global slot ID variable passed in by address * bus/bus.c: convert to new dataslot API * dbus/dbus-bus.c: convert to new dataslot API * dbus/dbus-connection.c: convert to new dataslot API * dbus/dbus-server.c: convert to new dataslot API * glib/dbus-gmain.c: ditto * bus/test.c: ditto * bus/connection.c: ditto
Diffstat (limited to 'dbus/dbus-server.h')
-rw-r--r--dbus/dbus-server.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbus/dbus-server.h b/dbus/dbus-server.h
index 5527f1ec..c2a0ca0f 100644
--- a/dbus/dbus-server.h
+++ b/dbus/dbus-server.h
@@ -65,8 +65,8 @@ dbus_bool_t dbus_server_set_timeout_functions (DBusServer *
dbus_bool_t dbus_server_set_auth_mechanisms (DBusServer *server,
const char **mechanisms);
-int dbus_server_allocate_data_slot (void);
-void dbus_server_free_data_slot (int slot);
+dbus_bool_t dbus_server_allocate_data_slot (dbus_int32_t *slot_p);
+void dbus_server_free_data_slot (dbus_int32_t *slot_p);
dbus_bool_t dbus_server_set_data (DBusServer *server,
int slot,
void *data,