| 1 |
pragma Ada_2012; |
| 2 |
pragma Style_Checks (Off); |
| 3 |
|
| 4 |
with Interfaces.C; use Interfaces.C; |
| 5 |
with dbus_arch_deps_h; |
| 6 |
with Interfaces.C.Strings; |
| 7 |
|
| 8 |
package dbus_types_h is |
| 9 |
|
| 10 |
subtype dbus_unichar_t is dbus_arch_deps_h.dbus_uint32_t; -- /usr/include/dbus-1.0/dbus/dbus-types.h:33 |
| 11 |
|
| 12 |
subtype dbus_bool_t is dbus_arch_deps_h.dbus_uint32_t; -- /usr/include/dbus-1.0/dbus/dbus-types.h:35 |
| 13 |
|
| 14 |
-- skipped anonymous struct anon_anon_1 |
| 15 |
|
| 16 |
type DBus8ByteStruct is record |
| 17 |
first32 : aliased dbus_arch_deps_h.dbus_uint32_t; -- /usr/include/dbus-1.0/dbus/dbus-types.h:123 |
| 18 |
second32 : aliased dbus_arch_deps_h.dbus_uint32_t; -- /usr/include/dbus-1.0/dbus/dbus-types.h:124 |
| 19 |
end record |
| 20 |
with Convention => C_Pass_By_Copy; -- /usr/include/dbus-1.0/dbus/dbus-types.h:125 |
| 21 |
|
| 22 |
-- skipped anonymous struct anon_anon_2 |
| 23 |
|
| 24 |
type DBusBasicValue_array849 is array (0 .. 7) of aliased unsigned_char; |
| 25 |
type DBusBasicValue (discr : unsigned := 0) is record |
| 26 |
case discr is |
| 27 |
when 0 => |
| 28 |
bytes : aliased DBusBasicValue_array849; -- /usr/include/dbus-1.0/dbus/dbus-types.h:139 |
| 29 |
when 1 => |
| 30 |
i16 : aliased dbus_arch_deps_h.dbus_int16_t; -- /usr/include/dbus-1.0/dbus/dbus-types.h:140 |
| 31 |
when 2 => |
| 32 |
u16 : aliased dbus_arch_deps_h.dbus_uint16_t; -- /usr/include/dbus-1.0/dbus/dbus-types.h:141 |
| 33 |
when 3 => |
| 34 |
i32 : aliased dbus_arch_deps_h.dbus_int32_t; -- /usr/include/dbus-1.0/dbus/dbus-types.h:142 |
| 35 |
when 4 => |
| 36 |
u32 : aliased dbus_arch_deps_h.dbus_uint32_t; -- /usr/include/dbus-1.0/dbus/dbus-types.h:143 |
| 37 |
when 5 => |
| 38 |
bool_val : aliased dbus_bool_t; -- /usr/include/dbus-1.0/dbus/dbus-types.h:144 |
| 39 |
when 6 => |
| 40 |
i64 : aliased dbus_arch_deps_h.dbus_int64_t; -- /usr/include/dbus-1.0/dbus/dbus-types.h:145 |
| 41 |
when 7 => |
| 42 |
u64 : aliased dbus_arch_deps_h.dbus_uint64_t; -- /usr/include/dbus-1.0/dbus/dbus-types.h:146 |
| 43 |
when 8 => |
| 44 |
eight : aliased DBus8ByteStruct; -- /usr/include/dbus-1.0/dbus/dbus-types.h:147 |
| 45 |
when 9 => |
| 46 |
dbl : aliased double; -- /usr/include/dbus-1.0/dbus/dbus-types.h:148 |
| 47 |
when 10 => |
| 48 |
byt : aliased unsigned_char; -- /usr/include/dbus-1.0/dbus/dbus-types.h:149 |
| 49 |
when 11 => |
| 50 |
str : Interfaces.C.Strings.chars_ptr; -- /usr/include/dbus-1.0/dbus/dbus-types.h:150 |
| 51 |
when others => |
| 52 |
fd : aliased int; -- /usr/include/dbus-1.0/dbus/dbus-types.h:151 |
| 53 |
end case; |
| 54 |
end record |
| 55 |
with Convention => C_Pass_By_Copy, |
| 56 |
Unchecked_Union => True; -- /usr/include/dbus-1.0/dbus/dbus-types.h:152 |
| 57 |
|
| 58 |
end dbus_types_h; |