Commit ce969c63 authored by Havoc Pennington's avatar Havoc Pennington

2003-08-29 Havoc Pennington <hp@pobox.com>

	* dbus/dbus-object-tree.c: modify to allow overlapping paths to be
	registered
	(struct DBusObjectSubtree): shrink this
	a lot, since we may have a lot of them
	(_dbus_object_tree_free_all_unlocked): implement
	(_dbus_object_tree_dispatch_and_unlock): implement
parent 85282c34
2003-08-29 Havoc Pennington <hp@pobox.com>
* dbus/dbus-object-tree.c: modify to allow overlapping paths to be
registered
(struct DBusObjectSubtree): shrink this
a lot, since we may have a lot of them
(_dbus_object_tree_free_all_unlocked): implement
(_dbus_object_tree_dispatch_and_unlock): implement
2003-08-29 Havoc Pennington <hp@pobox.com> 2003-08-29 Havoc Pennington <hp@pobox.com>
* dbus/dbus-internals.h: fix _DBUS_N_GLOBAL_LOCKS * dbus/dbus-internals.h: fix _DBUS_N_GLOBAL_LOCKS
......
This diff is collapsed.
...@@ -37,7 +37,6 @@ struct MethodInfo ...@@ -37,7 +37,6 @@ struct MethodInfo
int refcount; int refcount;
GSList *args; GSList *args;
char *name; char *name;
MethodStyle style;
}; };
struct SignalInfo struct SignalInfo
...@@ -157,15 +156,13 @@ free_arg_list (GSList **args_p) ...@@ -157,15 +156,13 @@ free_arg_list (GSList **args_p)
} }
MethodInfo* MethodInfo*
method_info_new (const char *name, method_info_new (const char *name)
MethodStyle style)
{ {
MethodInfo *info; MethodInfo *info;
info = g_new0 (MethodInfo, 1); info = g_new0 (MethodInfo, 1);
info->refcount = 1; info->refcount = 1;
info->name = g_strdup (name); info->name = g_strdup (name);
info->style = style;
return info; return info;
} }
......
...@@ -40,13 +40,6 @@ typedef enum ...@@ -40,13 +40,6 @@ typedef enum
ARG_OUT ARG_OUT
} ArgDirection; } ArgDirection;
typedef enum
{
METHOD_SYNC,
METHOD_ASYNC,
METHOD_CANCELLABLE
} MethodStyle;
InterfaceInfo* interface_info_new (const char *name); InterfaceInfo* interface_info_new (const char *name);
void interface_info_ref (InterfaceInfo *info); void interface_info_ref (InterfaceInfo *info);
void interface_info_unref (InterfaceInfo *info); void interface_info_unref (InterfaceInfo *info);
...@@ -57,8 +50,7 @@ void interface_info_add_method (InterfaceInfo *info, ...@@ -57,8 +50,7 @@ void interface_info_add_method (InterfaceInfo *info,
void interface_info_add_signal (InterfaceInfo *info, void interface_info_add_signal (InterfaceInfo *info,
SignalInfo *signal); SignalInfo *signal);
MethodInfo* method_info_new (const char *name, MethodInfo* method_info_new (const char *name);
MethodStyle style);
void method_info_ref (MethodInfo *info); void method_info_ref (MethodInfo *info);
void method_info_unref (MethodInfo *info); void method_info_unref (MethodInfo *info);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment