Galago - desktop presence framework

galago-dbus-compat.h File Reference

Private D-BUS Compatibility API. More...

Go to the source code of this file.


Defines

#define GALAGO_CHECK_DBUS_VERSION(major, minor)
#define DBUS_INTERFACE_DBUS   DBUS_INTERFACE_ORG_FREEDESKTOP_DBUS
#define DBUS_SERVICE_DBUS   DBUS_SERVICE_ORG_FREEDESKTOP_DBUS
#define DBUS_PATH_DBUS   DBUS_PATH_ORG_FREEDESKTOP_DBUS
#define DBUS_ERROR_SERVICE_UNKNOWN   DBUS_ERROR_SERVICE_DOES_NOT_EXIST
#define dbus_message_iter_init_append(msg, iter)   dbus_message_iter_init(msg, iter)
#define galago_dbus_message_iter_append_byte(iter, val)   dbus_message_iter_append_byte((iter), (val))
#define galago_dbus_message_iter_append_boolean(iter, val)   dbus_message_iter_append_boolean((iter), (val))
#define galago_dbus_message_iter_append_string(iter, val)   dbus_message_iter_append_string((iter), (val))
#define galago_dbus_message_iter_append_int32(iter, val)   dbus_message_iter_append_int32((iter), (val))
#define galago_dbus_message_iter_append_uint32(iter, val)   dbus_message_iter_append_uint32((iter), (val))
#define galago_dbus_message_iter_append_double(iter, val)   dbus_message_iter_append_double((iter), (val))
#define galago_dbus_message_iter_append_byte_array(iter, data, len)   dbus_message_iter_append_byte_array((iter), (data), (len))
#define galago_dbus_message_iter_append_boolean_array(iter, data, len)   dbus_message_iter_append_boolean_array((iter), (data), (len))
#define galago_dbus_message_iter_append_int32_array(iter, data, len)   dbus_message_iter_append_int32_array((iter), (data), (len))
#define galago_dbus_message_iter_append_uint32_array(iter, data, len)   dbus_message_iter_append_uint32_array((iter), (data), (len))
#define galago_dbus_message_iter_append_string_array(iter, data, len)   dbus_message_iter_append_string_array((iter), (const char **)(data), (len))
#define galago_dbus_message_iter_get_byte(iter, retvar)   retvar = dbus_message_iter_get_byte((iter))
#define galago_dbus_message_iter_get_boolean(iter, retvar)   retvar = dbus_message_iter_get_boolean((iter))
#define galago_dbus_message_iter_get_string(iter, retvar)   retvar = dbus_message_iter_get_string((iter))
#define galago_dbus_message_iter_get_int32(iter, retvar)   retvar = dbus_message_iter_get_int32((iter))
#define galago_dbus_message_iter_get_uint32(iter, retvar)   retvar = dbus_message_iter_get_uint32((iter))
#define galago_dbus_message_iter_get_double(iter, retvar)   retvar = dbus_message_iter_get_double((iter))
#define galago_dbus_message_iter_get_byte_array(iter, data, len)   dbus_message_iter_get_byte_array((iter), (data), (len))
#define galago_dbus_message_iter_get_boolean_array(iter, data, len)   dbus_message_iter_get_boolean_array((iter), (data), (len))
#define galago_dbus_message_iter_get_int32_array(iter, data, len)   dbus_message_iter_get_int32_array((iter), (data), (len))
#define galago_dbus_message_iter_get_uint32_array(iter, data, len)   dbus_message_iter_get_uint32_array((iter), (data), (len))
#define galago_dbus_message_iter_get_string_array(iter, data, len)   dbus_message_iter_get_string_array((iter), (data), (len))

Detailed Description

Private D-BUS Compatibility API.

Copyright:
(C) 2005 Christian Hammond.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Definition in file galago-dbus-compat.h.


Define Documentation

#define GALAGO_CHECK_DBUS_VERSION major,
minor   ) 
 

Value:

(DBUS_MAJOR_VER > (major) || \
     (DBUS_MAJOR_VER == (major) && DBUS_MINOR_VER >= (minor)))

Definition at line 24 of file galago-dbus-compat.h.