00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
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_get_user_data_unlocked (DBusObjectTree *tree,
00046 const char **path);
00047 void _dbus_object_tree_free_all_unlocked (DBusObjectTree *tree);
00048
00049
00050 dbus_bool_t _dbus_object_tree_list_registered_and_unlock (DBusObjectTree *tree,
00051 const char **parent_path,
00052 char ***child_entries);
00053
00054 dbus_bool_t _dbus_decompose_path (const char *data,
00055 int len,
00056 char ***path,
00057 int *path_len);
00058
00059 DBUS_END_DECLS
00060
00061 #endif