1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/ossrv/ossrv_pub/dbus/inc/dbus-pending-call.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,103 @@
1.4 +/* -*- mode: C; c-file-style: "gnu" -*- */
1.5 +/* dbus-pending-call.h Object representing a call in progress.
1.6 + *
1.7 + * Copyright (C) 2002, 2003 Red Hat Inc.
1.8 + * Portion Copyright © 2008 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
1.9 + * Licensed under the Academic Free License version 2.1
1.10 + *
1.11 + * This program is free software; you can redistribute it and/or modify
1.12 + * it under the terms of the GNU General Public License as published by
1.13 + * the Free Software Foundation; either version 2 of the License, or
1.14 + * (at your option) any later version.
1.15 + *
1.16 + * This program is distributed in the hope that it will be useful,
1.17 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.18 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.19 + * GNU General Public License for more details.
1.20 + *
1.21 + * You should have received a copy of the GNU General Public License
1.22 + * along with this program; if not, write to the Free Software
1.23 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1.24 + *
1.25 + */
1.26 +#if !defined (DBUS_INSIDE_DBUS_H) && !defined (DBUS_COMPILATION)
1.27 +#error "Only <dbus/dbus.h> can be included directly, this file may disappear or change contents."
1.28 +#endif
1.29 +
1.30 +#ifndef DBUS_PENDING_CALL_H
1.31 +#define DBUS_PENDING_CALL_H
1.32 +
1.33 +#include <dbus/dbus-macros.h>
1.34 +#include <dbus/dbus-types.h>
1.35 +#include <dbus/dbus-connection.h>
1.36 +
1.37 +DBUS_BEGIN_DECLS
1.38 +
1.39 +/**
1.40 + * @addtogroup DBusPendingCall
1.41 + * @{
1.42 + */
1.43 +
1.44 +#ifdef __SYMBIAN32__
1.45 +IMPORT_C
1.46 +#endif
1.47 +DBusPendingCall* dbus_pending_call_ref (DBusPendingCall *pending);
1.48 +#ifdef __SYMBIAN32__
1.49 +IMPORT_C
1.50 +#endif
1.51 +void dbus_pending_call_unref (DBusPendingCall *pending);
1.52 +
1.53 +#ifdef __SYMBIAN32__
1.54 +IMPORT_C
1.55 +#endif
1.56 +dbus_bool_t dbus_pending_call_set_notify (DBusPendingCall *pending,
1.57 + DBusPendingCallNotifyFunction function,
1.58 + void *user_data,
1.59 + DBusFreeFunction free_user_data);
1.60 +
1.61 +#ifdef __SYMBIAN32__
1.62 +IMPORT_C
1.63 +#endif
1.64 +void dbus_pending_call_cancel (DBusPendingCall *pending);
1.65 +
1.66 +#ifdef __SYMBIAN32__
1.67 +IMPORT_C
1.68 +#endif
1.69 +dbus_bool_t dbus_pending_call_get_completed (DBusPendingCall *pending);
1.70 +
1.71 +#ifdef __SYMBIAN32__
1.72 +IMPORT_C
1.73 +#endif
1.74 +DBusMessage* dbus_pending_call_steal_reply (DBusPendingCall *pending);
1.75 +
1.76 +#ifdef __SYMBIAN32__
1.77 +IMPORT_C
1.78 +#endif
1.79 +void dbus_pending_call_block (DBusPendingCall *pending);
1.80 +
1.81 +#ifdef __SYMBIAN32__
1.82 +IMPORT_C
1.83 +#endif
1.84 +dbus_bool_t dbus_pending_call_allocate_data_slot (dbus_int32_t *slot_p);
1.85 +#ifdef __SYMBIAN32__
1.86 +IMPORT_C
1.87 +#endif
1.88 +void dbus_pending_call_free_data_slot (dbus_int32_t *slot_p);
1.89 +#ifdef __SYMBIAN32__
1.90 +IMPORT_C
1.91 +#endif
1.92 +dbus_bool_t dbus_pending_call_set_data (DBusPendingCall *pending,
1.93 + dbus_int32_t slot,
1.94 + void *data,
1.95 + DBusFreeFunction free_data_func);
1.96 +#ifdef __SYMBIAN32__
1.97 +IMPORT_C
1.98 +#endif
1.99 +void* dbus_pending_call_get_data (DBusPendingCall *pending,
1.100 + dbus_int32_t slot);
1.101 +
1.102 +/** @} */
1.103 +
1.104 +DBUS_END_DECLS
1.105 +
1.106 +#endif /* DBUS_PENDING_CALL_H */