| 1 |
pragma Ada_2012; |
| 2 |
pragma Style_Checks (Off); |
| 3 |
|
| 4 |
with dbus_connection_h; |
| 5 |
with System; |
| 6 |
with dbus_memory_h; |
| 7 |
with dbus_types_h; |
| 8 |
limited with dbus_message_h; |
| 9 |
with dbus_arch_deps_h; |
| 10 |
|
| 11 |
package dbus_pending_call_h is |
| 12 |
|
| 13 |
-- unsupported macro: DBUS_TIMEOUT_INFINITE ((int) 0x7fffffff) |
| 14 |
DBUS_TIMEOUT_USE_DEFAULT : constant := (-1); -- /usr/include/dbus-1.0/dbus/dbus-pending-call.h:42 |
| 15 |
|
| 16 |
function dbus_pending_call_ref (pending : access dbus_connection_h.DBusPendingCall) return access dbus_connection_h.DBusPendingCall -- /usr/include/dbus-1.0/dbus/dbus-pending-call.h:45 |
| 17 |
with Import => True, |
| 18 |
Convention => C, |
| 19 |
External_Name => "dbus_pending_call_ref"; |
| 20 |
|
| 21 |
procedure dbus_pending_call_unref (pending : access dbus_connection_h.DBusPendingCall) -- /usr/include/dbus-1.0/dbus/dbus-pending-call.h:47 |
| 22 |
with Import => True, |
| 23 |
Convention => C, |
| 24 |
External_Name => "dbus_pending_call_unref"; |
| 25 |
|
| 26 |
function dbus_pending_call_set_notify |
| 27 |
(pending : access dbus_connection_h.DBusPendingCall; |
| 28 |
c_function : dbus_connection_h.DBusPendingCallNotifyFunction; |
| 29 |
user_data : System.Address; |
| 30 |
free_user_data : dbus_memory_h.DBusFreeFunction) return dbus_types_h.dbus_bool_t -- /usr/include/dbus-1.0/dbus/dbus-pending-call.h:49 |
| 31 |
with Import => True, |
| 32 |
Convention => C, |
| 33 |
External_Name => "dbus_pending_call_set_notify"; |
| 34 |
|
| 35 |
procedure dbus_pending_call_cancel (pending : access dbus_connection_h.DBusPendingCall) -- /usr/include/dbus-1.0/dbus/dbus-pending-call.h:54 |
| 36 |
with Import => True, |
| 37 |
Convention => C, |
| 38 |
External_Name => "dbus_pending_call_cancel"; |
| 39 |
|
| 40 |
function dbus_pending_call_get_completed (pending : access dbus_connection_h.DBusPendingCall) return dbus_types_h.dbus_bool_t -- /usr/include/dbus-1.0/dbus/dbus-pending-call.h:56 |
| 41 |
with Import => True, |
| 42 |
Convention => C, |
| 43 |
External_Name => "dbus_pending_call_get_completed"; |
| 44 |
|
| 45 |
function dbus_pending_call_steal_reply (pending : access dbus_connection_h.DBusPendingCall) return access dbus_message_h.DBusMessage -- /usr/include/dbus-1.0/dbus/dbus-pending-call.h:58 |
| 46 |
with Import => True, |
| 47 |
Convention => C, |
| 48 |
External_Name => "dbus_pending_call_steal_reply"; |
| 49 |
|
| 50 |
procedure dbus_pending_call_block (pending : access dbus_connection_h.DBusPendingCall) -- /usr/include/dbus-1.0/dbus/dbus-pending-call.h:60 |
| 51 |
with Import => True, |
| 52 |
Convention => C, |
| 53 |
External_Name => "dbus_pending_call_block"; |
| 54 |
|
| 55 |
function dbus_pending_call_allocate_data_slot (slot_p : access dbus_arch_deps_h.dbus_int32_t) return dbus_types_h.dbus_bool_t -- /usr/include/dbus-1.0/dbus/dbus-pending-call.h:63 |
| 56 |
with Import => True, |
| 57 |
Convention => C, |
| 58 |
External_Name => "dbus_pending_call_allocate_data_slot"; |
| 59 |
|
| 60 |
procedure dbus_pending_call_free_data_slot (slot_p : access dbus_arch_deps_h.dbus_int32_t) -- /usr/include/dbus-1.0/dbus/dbus-pending-call.h:65 |
| 61 |
with Import => True, |
| 62 |
Convention => C, |
| 63 |
External_Name => "dbus_pending_call_free_data_slot"; |
| 64 |
|
| 65 |
function dbus_pending_call_set_data |
| 66 |
(pending : access dbus_connection_h.DBusPendingCall; |
| 67 |
slot : dbus_arch_deps_h.dbus_int32_t; |
| 68 |
data : System.Address; |
| 69 |
free_data_func : dbus_memory_h.DBusFreeFunction) return dbus_types_h.dbus_bool_t -- /usr/include/dbus-1.0/dbus/dbus-pending-call.h:67 |
| 70 |
with Import => True, |
| 71 |
Convention => C, |
| 72 |
External_Name => "dbus_pending_call_set_data"; |
| 73 |
|
| 74 |
function dbus_pending_call_get_data (pending : access dbus_connection_h.DBusPendingCall; slot : dbus_arch_deps_h.dbus_int32_t) return System.Address -- /usr/include/dbus-1.0/dbus/dbus-pending-call.h:72 |
| 75 |
with Import => True, |
| 76 |
Convention => C, |
| 77 |
External_Name => "dbus_pending_call_get_data"; |
| 78 |
|
| 79 |
procedure dbus_clear_pending_call (pointer_to_pending_call : System.Address) -- /usr/include/dbus-1.0/dbus/dbus-pending-call.h:88 |
| 80 |
with Import => True, |
| 81 |
Convention => C, |
| 82 |
External_Name => "dbus_clear_pending_call"; |
| 83 |
|
| 84 |
end dbus_pending_call_h; |