summaryrefslogtreecommitdiffstats
path: root/src/cli/dbus.cpp
diff options
context:
space:
mode:
authorNikola Pajkovsky <npajkovs@redhat.com>2010-12-01 14:55:33 +0100
committerNikola Pajkovsky <npajkovs@redhat.com>2010-12-01 16:40:00 +0100
commitb808fc36602756d1c1495179331a4e92a7b094dc (patch)
tree62aaf4e810d24b7d0d43452fbf15f36132a86449 /src/cli/dbus.cpp
parentf69941320b1a09b0322c811fbc885861f406bc0e (diff)
downloadabrt-b808fc36602756d1c1495179331a4e92a7b094dc.tar.gz
abrt-b808fc36602756d1c1495179331a4e92a7b094dc.tar.xz
abrt-b808fc36602756d1c1495179331a4e92a7b094dc.zip
get_reporter_plugin_settings() returns GHashTable
static void get_reporter_plugin_settings(const vector_string_t& reporters, map_map_string_t &settings) a new interface is static GHashTable *get_reporter_plugin_settings(const vector_string_t& reporters) Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
Diffstat (limited to 'src/cli/dbus.cpp')
-rw-r--r--src/cli/dbus.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cli/dbus.cpp b/src/cli/dbus.cpp
index 7565d5bc..f9271b85 100644
--- a/src/cli/dbus.cpp
+++ b/src/cli/dbus.cpp
@@ -161,7 +161,7 @@ map_crash_data_t call_CreateReport(const char* crash_id)
report_status_t call_Report(const map_crash_data_t& report,
const vector_string_t& reporters,
- const map_map_string_t &plugins)
+ GHashTable *plugins)
{
DBusMessage* msg = new_call_msg(__func__ + 5);
DBusMessageIter out_iter;
@@ -172,8 +172,8 @@ report_status_t call_Report(const map_crash_data_t& report,
/* parameter #2: reporters to use */
store_val(&out_iter, reporters);
/* parameter #3 (opt): plugin config */
- if (!plugins.empty())
- store_val(&out_iter, plugins);
+ if (g_hash_table_size(plugins))
+ store_hash_table_map_string_t(&out_iter, plugins);
DBusMessage *reply = send_get_reply_and_unref(msg);