diff options
author | Havoc Pennington <hp@redhat.com> | 2003-09-07 23:04:54 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-09-07 23:04:54 +0000 |
commit | 85ab0327d82e4945ad16630e583d8cc68df25a90 (patch) | |
tree | 265a2058810fbe8bd68aa709dc04bafda086c67e /dbus/dbus-dataslot.h | |
parent | 32bd6660e07696ed99bfa60b08700e8eae3e96b1 (diff) |
2003-09-07 Havoc Pennington <hp@pobox.com>
* Make Doxygen contented.
Diffstat (limited to 'dbus/dbus-dataslot.h')
-rw-r--r-- | dbus/dbus-dataslot.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dbus/dbus-dataslot.h b/dbus/dbus-dataslot.h index 6f591eb5..c4a914b4 100644 --- a/dbus/dbus-dataslot.h +++ b/dbus/dbus-dataslot.h @@ -40,12 +40,18 @@ struct DBusDataSlot }; typedef struct DBusAllocatedSlot DBusAllocatedSlot; + +/** An allocated slot for storing data + */ struct DBusAllocatedSlot { dbus_int32_t slot_id; /**< ID of this slot */ int refcount; /**< Number of uses of the slot */ }; +/** + * An allocator that tracks a set of slot IDs. + */ struct DBusDataSlotAllocator { DBusAllocatedSlot *allocated_slots; /**< Allocated slots */ @@ -54,6 +60,10 @@ struct DBusDataSlotAllocator DBusMutex *lock; /**< thread lock */ }; +/** + * Data structure that stores the actual user data set at a given + * slot. + */ struct DBusDataSlotList { DBusDataSlot *slots; /**< Data slots */ |