index.html
Main Page
|
modules.html
Modules
|
namespaces.html
Namespace List
|
hierarchy.html
Class Hierarchy
|
annotated.html
Data Structures
|
dirs.html
Directories
|
files.html
File List
|
namespacemembers.html
Namespace Members
|
functions.html
Data Fields
|
pages.html
Related Pages
dir_000004.html
dbus
dbus-dataslot.h
00001
/* -*- mode: C; c-file-style: "gnu" -*- */
00002
/* dbus-dataslot.h  storing data on objects
00003
*
00004
* Copyright (C) 2003 Red Hat, Inc.
00005
*
00006
* Licensed under the Academic Free License version 2.1
00007
*
00008
* This program is free software; you can redistribute it and/or modify
00009
* it under the terms of the GNU General Public License as published by
00010
* the Free Software Foundation; either version 2 of the License, or
00011
* (at your option) any later version.
00012
*
00013
* This program is distributed in the hope that it will be useful,
00014
* but WITHOUT ANY WARRANTY; without even the implied warranty of
00015
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016
* GNU General Public License for more details.
00017
*
00018
* You should have received a copy of the GNU General Public License
00019
* along with this program; if not, write to the Free Software
00020
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00021
*
00022
*/
00023
#ifndef DBUS_DATASLOT_H
00024
#define DBUS_DATASLOT_H
00025
00026
#include <dbus/dbus-internals.h>
00027
00028
group__DBusMacros.html#ga0
DBUS_BEGIN_DECLS
00029
00030
typedef
struct
structDBusDataSlotAllocator.html
DBusDataSlotAllocator
DBusDataSlotAllocator;
00031
typedef
struct
structDBusDataSlotList.html
DBusDataSlotList
DBusDataSlotList;
00032
00034
typedef
struct
structDBusDataSlot.html
DBusDataSlot
DBusDataSlot;
structDBusDataSlot.html
00036
struct
DBusDataSlot
00037 {
structDBusDataSlot.html#o0
00038
void
*
structDBusDataSlot.html#o0
data
;
structDBusDataSlot.html#o1
00039
group__DBusMemory.html#ga8
DBusFreeFunction
structDBusDataSlot.html#o1
free_data_func
;
00040 };
00041
00042
typedef
struct
structDBusAllocatedSlot.html
DBusAllocatedSlot
DBusAllocatedSlot;
00043
structDBusAllocatedSlot.html
00046
struct
DBusAllocatedSlot
00047 {
structDBusAllocatedSlot.html#o0
00048
group__DBusTypes.html#ga4
dbus_int32_t
structDBusAllocatedSlot.html#o0
slot_id
;
structDBusAllocatedSlot.html#o1
00049
int
structDBusAllocatedSlot.html#o1
refcount
;
00050 };
00051
structDBusDataSlotAllocator.html
00055
struct
DBusDataSlotAllocator
00056 {
structDBusDataSlotAllocator.html#o0
00057
DBusAllocatedSlot *
structDBusDataSlotAllocator.html#o0
allocated_slots
;
structDBusDataSlotAllocator.html#o1
00058
int
structDBusDataSlotAllocator.html#o1
n_allocated_slots
;
structDBusDataSlotAllocator.html#o2
00059
int
structDBusDataSlotAllocator.html#o2
n_used_slots
;
structDBusDataSlotAllocator.html#o3
00060
DBusMutex *
structDBusDataSlotAllocator.html#o3
lock
;
00061 };
00062
structDBusDataSlotList.html
00067
struct
DBusDataSlotList
00068 {
structDBusDataSlotList.html#o0
00069
DBusDataSlot *
structDBusDataSlotList.html#o0
slots
;
structDBusDataSlotList.html#o1
00070
int
structDBusDataSlotList.html#o1
n_slots
;
00071 };
00072
00073
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusDataSlot.html#ga0
_dbus_data_slot_allocator_init
(DBusDataSlotAllocator  *allocator);
00074
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusDataSlot.html#ga1
_dbus_data_slot_allocator_alloc
(DBusDataSlotAllocator  *allocator,
00075                                              DBusMutex              *mutex,
00076
int
*slot_id_p);
00077
void
group__DBusDataSlot.html#ga2
_dbus_data_slot_allocator_free
(DBusDataSlotAllocator  *allocator,
00078
int
*slot_id_p);
00079
void
group__DBusDataSlot.html#ga3
_dbus_data_slot_list_init
(DBusDataSlotList       *list);
00080
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusDataSlot.html#ga4
_dbus_data_slot_list_set
(DBusDataSlotAllocator  *allocator,
00081                                              DBusDataSlotList       *list,
00082
int
slot,
00083
void
*data,
00084
group__DBusMemory.html#ga8
DBusFreeFunction
free_data_func,
00085
group__DBusMemory.html#ga8
DBusFreeFunction
*old_free_func,
00086
void
**old_data);
00087
void
*
group__DBusDataSlot.html#ga5
_dbus_data_slot_list_get
(DBusDataSlotAllocator  *allocator,
00088                                              DBusDataSlotList       *list,
00089
int
slot);
00090
void
group__DBusDataSlot.html#ga6
_dbus_data_slot_list_clear
(DBusDataSlotList       *list);
00091
void
group__DBusDataSlot.html#ga7
_dbus_data_slot_list_free
(DBusDataSlotList       *list);
00092
00093
00094
group__DBusMacros.html#ga1
DBUS_END_DECLS
00095
00096
#endif
/* DBUS_DATASLOT_H */
Generated on Tue Sep 13 01:28:06 2005 for D-BUS by
http://www.doxygen.org/index.html
doxygen
1.4.4
