/usr/share/ada/adainclude/dbus-ada/dbus_memory_h.ads is in libdbusada0.2-dev 0.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | with Interfaces.C; use Interfaces.C;
with stddef_h;
with System;
package dbus_memory_h is
-- unsupported macro: dbus_new(type,count) ((type*)dbus_malloc (sizeof (type) * (count)));
-- unsupported macro: dbus_new0(type,count) ((type*)dbus_malloc0 (sizeof (type) * (count)));
function dbus_malloc (arg1 : stddef_h.size_t) return System.Address; -- ../dbus/dbus-memory.h:40:7
pragma Import (C, dbus_malloc, "dbus_malloc");
function dbus_malloc0 (arg1 : stddef_h.size_t) return System.Address; -- ../dbus/dbus-memory.h:41:7
pragma Import (C, dbus_malloc0, "dbus_malloc0");
function dbus_realloc (arg1 : System.Address; arg2 : stddef_h.size_t) return System.Address; -- ../dbus/dbus-memory.h:42:7
pragma Import (C, dbus_realloc, "dbus_realloc");
procedure dbus_free (arg1 : System.Address); -- ../dbus/dbus-memory.h:44:7
pragma Import (C, dbus_free, "dbus_free");
procedure dbus_free_string_array (arg1 : System.Address); -- ../dbus/dbus-memory.h:49:6
pragma Import (C, dbus_free_string_array, "dbus_free_string_array");
type DBusFreeFunction is access procedure (arg1 : System.Address); -- ../dbus/dbus-memory.h:51:17
procedure dbus_shutdown; -- ../dbus/dbus-memory.h:53:6
pragma Import (C, dbus_shutdown, "dbus_shutdown");
end dbus_memory_h;
|