| 1 |
pragma Ada_2012; |
| 2 |
pragma Style_Checks (Off); |
| 3 |
|
| 4 |
with Interfaces.C; use Interfaces.C; |
| 5 |
with Interfaces.C.Strings; |
| 6 |
with dbus_types_h; |
| 7 |
limited with dbus_errors_h; |
| 8 |
|
| 9 |
package dbus_misc_h is |
| 10 |
|
| 11 |
function dbus_get_local_machine_id return Interfaces.C.Strings.chars_ptr -- /usr/include/dbus-1.0/dbus/dbus-misc.h:40 |
| 12 |
with Import => True, |
| 13 |
Convention => C, |
| 14 |
External_Name => "dbus_get_local_machine_id"; |
| 15 |
|
| 16 |
procedure dbus_get_version |
| 17 |
(major_version_p : access int; |
| 18 |
minor_version_p : access int; |
| 19 |
micro_version_p : access int) -- /usr/include/dbus-1.0/dbus/dbus-misc.h:43 |
| 20 |
with Import => True, |
| 21 |
Convention => C, |
| 22 |
External_Name => "dbus_get_version"; |
| 23 |
|
| 24 |
function dbus_setenv (variable : Interfaces.C.Strings.chars_ptr; value : Interfaces.C.Strings.chars_ptr) return dbus_types_h.dbus_bool_t -- /usr/include/dbus-1.0/dbus/dbus-misc.h:48 |
| 25 |
with Import => True, |
| 26 |
Convention => C, |
| 27 |
External_Name => "dbus_setenv"; |
| 28 |
|
| 29 |
function dbus_try_get_local_machine_id (error : access dbus_errors_h.DBusError) return Interfaces.C.Strings.chars_ptr -- /usr/include/dbus-1.0/dbus/dbus-misc.h:52 |
| 30 |
with Import => True, |
| 31 |
Convention => C, |
| 32 |
External_Name => "dbus_try_get_local_machine_id"; |
| 33 |
|
| 34 |
end dbus_misc_h; |