summaryrefslogtreecommitdiff
path: root/src/machine/image-dbus.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-28 02:44:37 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-28 02:44:37 +0100
commit1ddb263d21099ae42195c2bc382bdf72a7f24f82 (patch)
tree5dacc98baedd786030704379bb7e65e77ff92391 /src/machine/image-dbus.h
parent3b9c7d955da357a45c0bcd03397160153539bc57 (diff)
machined: don't look for images on each property get, but cache the image object inbetween
Diffstat (limited to 'src/machine/image-dbus.h')
-rw-r--r--src/machine/image-dbus.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/machine/image-dbus.h b/src/machine/image-dbus.h
index d176ff728b..1b4364cbea 100644
--- a/src/machine/image-dbus.h
+++ b/src/machine/image-dbus.h
@@ -29,3 +29,8 @@ char *image_bus_path(const char *name);
int image_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error);
int image_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
+
+int bus_image_method_remove(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error);
+int bus_image_method_rename(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error);
+int bus_image_method_clone(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error);
+int bus_image_method_mark_read_only(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error);