On Wednesday, December 01, 2010 12:06:19 pm Denys Vlasenko wrote:
On Tue, 2010-11-30 at 12:38 +0100, Nikola Pajkovsky wrote:
> Note: I will be using a C++ notations for glib structures.
>
> Before I send a patch about rewriting LoadPluginSettings to C, I have to
> write one before. It will be smaller and it will rewrite function from
> abrt-cli called
>
> static void get_reporter_plugin_settings(const vector_string_t&
> reporters,
>
> map_map_string_t &settings)
>
> a new interface will be
>
> static GHashTable *get_reporter_plugin_settings(const vector_string_t&
> reporters)
>
> and returned value is GHashTable<char*, map_string_t>. In a second
> patch(the one which will rewrite LoadPluginSettings) returned value will
> be GHashTable<char *, GHashTable<char *, char*>. Returned value must be
> *strongly* documented.
>
> I also have to introduce a new funcion in dbus.
> (store_/load_)hash_table_(type).
>
> --here I am right now--
This sounds reasonable. When do you expect patches to be ready for
review?
Have no idea because of I'm a little bit puzzled by sending GHashTable<char *,
map_string_t> via dbus
--
Nikola