Main Page | Modules | Data Structures | File List | Data Fields | Related Pages

dbus-object-tree.h

00001 /* -*- mode: C; c-file-style: "gnu" -*- */ 00002 /* dbus-object-tree.h DBusObjectTree (internals of DBusConnection) 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_OBJECT_TREE_H 00024 #define DBUS_OBJECT_TREE_H 00025 00026 #include <dbus/dbus-connection.h> 00027 00028 DBUS_BEGIN_DECLS; 00029 00030 typedef struct DBusObjectTree DBusObjectTree; 00031 00032 DBusObjectTree* _dbus_object_tree_new (DBusConnection *connection); 00033 DBusObjectTree* _dbus_object_tree_ref (DBusObjectTree *tree); 00034 void _dbus_object_tree_unref (DBusObjectTree *tree); 00035 00036 dbus_bool_t _dbus_object_tree_register (DBusObjectTree *tree, 00037 dbus_bool_t fallback, 00038 const char **path, 00039 const DBusObjectPathVTable *vtable, 00040 void *user_data); 00041 void _dbus_object_tree_unregister_and_unlock (DBusObjectTree *tree, 00042 const char **path); 00043 DBusHandlerResult _dbus_object_tree_dispatch_and_unlock (DBusObjectTree *tree, 00044 DBusMessage *message); 00045 void _dbus_object_tree_free_all_unlocked (DBusObjectTree *tree); 00046 00047 dbus_bool_t _dbus_object_tree_list_registered_and_unlock (DBusObjectTree *tree, 00048 const char **parent_path, 00049 char ***child_entries); 00050 DBUS_END_DECLS; 00051 00052 #endif /* DBUS_OBJECT_TREE_H */

Generated on Mon Aug 16 17:40:10 2004 for D-BUS by doxygen 1.3.8