1 /* SPDX-License-Identifier: LGPL-2.1-or-later */ 2 #pragma once 3 4 #include "macro.h" 5 6 int bus_gvariant_get_size(const char *signature) _pure_; 7 int bus_gvariant_get_alignment(const char *signature) _pure_; 8 int bus_gvariant_is_fixed_size(const char *signature) _pure_; 9 10 size_t bus_gvariant_determine_word_size(size_t sz, size_t extra); 11 void bus_gvariant_write_word_le(void *p, size_t sz, size_t value); 12 size_t bus_gvariant_read_word_le(void *p, size_t sz); 13