Skip to content

Commit 025be95

Browse files
committed
dbus: rauc: re-introspect the DBus APIs with new zbus-xmlgen
This makes sure that our API bindings are still up to date and also adds some API bindings that may become interesting in the future. Signed-off-by: Leonard Göhrs <[email protected]>
1 parent ab71db9 commit 025be95

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

src/dbus/rauc/installer.rs

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
1-
//! # DBus interface proxy for: `de.pengutronix.rauc.Installer`
2-
//!
3-
//! This code was generated by `zbus-xmlgen` `2.0.1` from DBus introspection data.
4-
//! Source: `de.pengutronix.rauc.Installer.xml`.
5-
//!
6-
//! You may prefer to adapt it, instead of using it verbatim.
7-
//!
8-
//! More information can be found in the
9-
//! [Writing a client proxy](https://dbus.pages.freedesktop.org/zbus/client.html)
10-
//! section of the zbus documentation.
1+
//! This code was generated by `zbus-xmlgen` `3.1.1` from DBus introspection data.
112
//!
3+
//! By running `zbus-xmlgen --system de.pengutronix.rauc /` on the LXA TAC.
124
135
use zbus::dbus_proxy;
146

157
#[dbus_proxy(
16-
default_service = "de.pengutronix.rauc",
178
interface = "de.pengutronix.rauc.Installer",
9+
default_service = "de.pengutronix.rauc",
1810
default_path = "/"
1911
)]
2012
trait Installer {
@@ -34,6 +26,13 @@ trait Installer {
3426
/// Info method
3527
fn info(&self, bundle: &str) -> zbus::Result<(String, String)>;
3628

29+
/// InspectBundle method
30+
fn inspect_bundle(
31+
&self,
32+
source: &str,
33+
args: std::collections::HashMap<&str, zbus::zvariant::Value<'_>>,
34+
) -> zbus::Result<std::collections::HashMap<String, zbus::zvariant::OwnedValue>>;
35+
3736
/// Install method
3837
fn install(&self, source: &str) -> zbus::Result<()>;
3938

0 commit comments

Comments
 (0)