summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-gvariant.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-02-13 17:32:38 +0100
committerLennart Poettering <lennart@poettering.net>2015-02-16 15:03:44 +0100
commit2ac7c17f9d8eeb403b91ee5a389562edaf47fb87 (patch)
tree3b55981e7648c1b58aaf6d656e28003c53c3497c /src/libsystemd/sd-bus/bus-gvariant.h
parent38ab096869ad6bb39a9ef9a012abfb42ea62cd93 (diff)
Revert "Revert "sd-bus: change serialization of kdbus messages to qualify in their entirety as gvariant objects""
This reverts commit 954871d8ba15911d014f76ed2c7a9492953cf39d.
Diffstat (limited to 'src/libsystemd/sd-bus/bus-gvariant.h')
-rw-r--r--src/libsystemd/sd-bus/bus-gvariant.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libsystemd/sd-bus/bus-gvariant.h b/src/libsystemd/sd-bus/bus-gvariant.h
index fdf533591b..875d34b59b 100644
--- a/src/libsystemd/sd-bus/bus-gvariant.h
+++ b/src/libsystemd/sd-bus/bus-gvariant.h
@@ -26,3 +26,7 @@
int bus_gvariant_get_size(const char *signature) _pure_;
int bus_gvariant_get_alignment(const char *signature) _pure_;
int bus_gvariant_is_fixed_size(const char *signature) _pure_;
+
+size_t bus_gvariant_determine_word_size(size_t sz, size_t extra);
+void bus_gvariant_write_word_le(void *p, size_t sz, size_t value);
+size_t bus_gvariant_read_word_le(void *p, size_t sz);