chiark / gitweb /
dd8e552df12a19732d66324911733e3a1385b990
[elogind.git] / src / libelogind / sd-bus / bus-type.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 /***
5   This file is part of systemd.
6
7   Copyright 2013 Lennart Poettering
8 ***/
9
10 #include <stdbool.h>
11
12 #include "macro.h"
13
14 bool bus_type_is_valid(char c) _const_;
15 bool bus_type_is_valid_in_signature(char c) _const_;
16 bool bus_type_is_basic(char c) _const_;
17 /* "trivial" is systemd's term for what the D-Bus Specification calls
18  * a "fixed type": that is, a basic type of fixed length */
19 bool bus_type_is_trivial(char c) _const_;
20 bool bus_type_is_container(char c) _const_;
21
22 int bus_type_get_alignment(char c) _const_;
23 int bus_type_get_size(char c) _const_;