Blob Blame History Raw
From 7af709b3054bafc118d216c59b2d2c9ed49ce31c Mon Sep 17 00:00:00 2001
From: Jakub Filak <jfilak@redhat.com>
Date: Mon, 16 Mar 2015 14:13:14 +0100
Subject: [PATCH] doc: add documentation for GetProblemData

For cockpit-abrt.

Signed-off-by: Jakub Filak <jfilak@redhat.com>
---
 doc/problems-service/org.freedesktop.Problems.xml.in | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/doc/problems-service/org.freedesktop.Problems.xml.in b/doc/problems-service/org.freedesktop.Problems.xml.in
index 705b286..6fcd990 100644
--- a/doc/problems-service/org.freedesktop.Problems.xml.in
+++ b/doc/problems-service/org.freedesktop.Problems.xml.in
@@ -253,6 +253,18 @@ for prblmid in problems.GetProblems():
                 </arg>
             </method>
 
+            <method name='GetProblemData'>"
+                <tp:docstring>Returns problem's data.</tp:docstring>
+
+                <arg type='s' name='problem_dir' direction='in'>
+                    <tp:docstring>An identifier of problem.</tp:docstring>
+                </arg>
+
+                <arg type='a{sits}' name='problem_data' direction='out'>
+                    <tp:docstring>A dictionary where keys are element names and values are triplets (element libreport flags, element size, element contents).</tp:docstring>
+                </arg>
+            </method>
+
             <method name='ChownProblemDir'>
                 <tp:docstring>Assures ownership of a specified problem for the caller.</tp:docstring>
 
-- 
2.1.0