with Interfaces.C; use Interfaces.C;
with System;
with dbus_types_h;
with dbus_arch_deps_h;

package dbus_pending_call_h is

   function dbus_pending_call_ref (arg1 : System.Address) return System.Address;  -- ../dbus/dbus-pending-call.h:41:18
   pragma Import (C, dbus_pending_call_ref, "dbus_pending_call_ref");

   procedure dbus_pending_call_unref (arg1 : System.Address);  -- ../dbus/dbus-pending-call.h:42:14
   pragma Import (C, dbus_pending_call_unref, "dbus_pending_call_unref");

   function dbus_pending_call_set_notify
     (arg1 : System.Address;
      arg2 : access procedure (arg1 : System.Address; arg2 : System.Address);
      arg3 : System.Address;
      arg4 : access procedure (arg1 : System.Address)) return dbus_types_h.dbus_bool_t;  -- ../dbus/dbus-pending-call.h:43:14
   pragma Import (C, dbus_pending_call_set_notify, "dbus_pending_call_set_notify");

   procedure dbus_pending_call_cancel (arg1 : System.Address);  -- ../dbus/dbus-pending-call.h:47:14
   pragma Import (C, dbus_pending_call_cancel, "dbus_pending_call_cancel");

   function dbus_pending_call_get_completed (arg1 : System.Address) return dbus_types_h.dbus_bool_t;  -- ../dbus/dbus-pending-call.h:48:14
   pragma Import (C, dbus_pending_call_get_completed, "dbus_pending_call_get_completed");

   function dbus_pending_call_steal_reply (arg1 : System.Address) return System.Address;  -- ../dbus/dbus-pending-call.h:49:14
   pragma Import (C, dbus_pending_call_steal_reply, "dbus_pending_call_steal_reply");

   procedure dbus_pending_call_block (arg1 : System.Address);  -- ../dbus/dbus-pending-call.h:50:14
   pragma Import (C, dbus_pending_call_block, "dbus_pending_call_block");

   function dbus_pending_call_allocate_data_slot (arg1 : access dbus_arch_deps_h.dbus_int32_t) return dbus_types_h.dbus_bool_t;  -- ../dbus/dbus-pending-call.h:52:13
   pragma Import (C, dbus_pending_call_allocate_data_slot, "dbus_pending_call_allocate_data_slot");

   procedure dbus_pending_call_free_data_slot (arg1 : access dbus_arch_deps_h.dbus_int32_t);  -- ../dbus/dbus-pending-call.h:53:13
   pragma Import (C, dbus_pending_call_free_data_slot, "dbus_pending_call_free_data_slot");

   function dbus_pending_call_set_data
     (arg1 : System.Address;
      arg2 : dbus_arch_deps_h.dbus_int32_t;
      arg3 : System.Address;
      arg4 : access procedure (arg1 : System.Address)) return dbus_types_h.dbus_bool_t;  -- ../dbus/dbus-pending-call.h:54:13
   pragma Import (C, dbus_pending_call_set_data, "dbus_pending_call_set_data");

   function dbus_pending_call_get_data (arg1 : System.Address; arg2 : dbus_arch_deps_h.dbus_int32_t) return System.Address;  -- ../dbus/dbus-pending-call.h:58:13
   pragma Import (C, dbus_pending_call_get_data, "dbus_pending_call_get_data");

end dbus_pending_call_h;
