dbus-pending-call.inc 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. { -*- mode: C; c-file-style: "gnu" -*- }
  2. { dbus-pending-call.h Object representing a call in progress.
  3. *
  4. * Copyright (C) 2002, 2003 Red Hat Inc.
  5. *
  6. * Licensed under the Academic Free License version 2.1
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation; either version 2 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not, write to the Free Software
  20. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  21. * MA 02110-1301, USA
  22. *
  23. }
  24. {#include <dbus/dbus-macros.h>
  25. #include <dbus/dbus-types.h>
  26. #include <dbus/dbus-connection.h>}
  27. function dbus_pending_call_ref(pending: PDBusPendingCall): PDBusPendingCall; cdecl; external LibDBus;
  28. procedure dbus_pending_call_unref(pending: PDBusPendingCall); cdecl; external LibDBus;
  29. function dbus_pending_call_set_notify(pending: PDBusPendingCall;
  30. function_: DBusPendingCallNotifyFunction;
  31. user_data: Pointer; free_user_data: DBusFreeFunction): dbus_bool_t; cdecl; external LibDBus;
  32. procedure dbus_pending_call_cancel(pending: PDBusPendingCall); cdecl; external LibDBus;
  33. function dbus_pending_call_get_completed(pending: PDBusPendingCall): dbus_bool_t; cdecl; external LibDBus;
  34. function dbus_pending_call_steal_reply(pending: PDBusPendingCall): PDBusMessage; cdecl; external LibDBus;
  35. procedure dbus_pending_call_block(pending: PDBusPendingCall); cdecl; external LibDBus;
  36. function dbus_pending_call_allocate_data_slot(slot_p: Pdbus_int32_t): dbus_bool_t; cdecl; external LibDBus;
  37. procedure dbus_pending_call_free_data_slot(slot_p: Pdbus_int32_t); cdecl; external LibDBus;
  38. function dbus_pending_call_set_data(pending: PDBusPendingCall;
  39. slot: dbus_int32_t; data: Pointer; free_data_func: DBusFreeFunction): dbus_bool_t; cdecl; external LibDBus;
  40. function dbus_pending_call_get_data(pending: PDBusPendingCall; slot: dbus_int32_t): Pointer; cdecl; external LibDBus;