dbus-arch-deps.h

00001 /* -*- mode: C; c-file-style: "gnu" -*- */
00002 /* dbus-arch-deps.h Header with architecture/compiler specific information, installed to libdir
00003  *
00004  * Copyright (C) 2003 Red Hat, Inc.
00005  *
00006  * Licensed under the Academic Free License version 2.0
00007  * 
00008  * This program is free software; you can redistribute it and/or modify
00009  * it under the terms of the GNU General Public License as published by
00010  * the Free Software Foundation; either version 2 of the License, or
00011  * (at your option) any later version.
00012  *
00013  * This program is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  * GNU General Public License for more details.
00017  * 
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program; if not, write to the Free Software
00020  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00021  *
00022  */
00023 #if !defined (DBUS_INSIDE_DBUS_H) && !defined (DBUS_COMPILATION)
00024 #error "Only <dbus/dbus.h> can be included directly, this file may disappear or change contents."
00025 #endif
00026 
00027 #ifndef DBUS_ARCH_DEPS_H
00028 #define DBUS_ARCH_DEPS_H
00029 
00030 #include <dbus/dbus-macros.h>
00031 
00032 DBUS_BEGIN_DECLS
00033 
00034 #if 1
00035 #define DBUS_HAVE_INT64 1
00036 _DBUS_GNUC_EXTENSION typedef long long dbus_int64_t;
00037 _DBUS_GNUC_EXTENSION typedef unsigned long long dbus_uint64_t;
00038 
00039 #define DBUS_INT64_CONSTANT(val)  (_DBUS_GNUC_EXTENSION (val##LL))
00040 #define DBUS_UINT64_CONSTANT(val) (_DBUS_GNUC_EXTENSION (val##ULL))
00041 
00042 #else
00043 #undef DBUS_HAVE_INT64
00044 #undef DBUS_INT64_CONSTANT
00045 #undef DBUS_UINT64_CONSTANT
00046 #endif
00047 
00048 typedef int dbus_int32_t;
00049 typedef unsigned int dbus_uint32_t;
00050 
00051 typedef short dbus_int16_t;
00052 typedef unsigned short dbus_uint16_t;
00053 
00054 /* This is not really arch-dependent, but it's not worth
00055  * creating an additional generated header just for this
00056  */
00057 #define DBUS_MAJOR_VERSION 1
00058 #define DBUS_MINOR_VERSION 2
00059 #define DBUS_MICRO_VERSION 4
00060 
00061 #define DBUS_VERSION_STRING "1.2.4"
00062 
00063 #define DBUS_VERSION ((1 << 16) | (2 << 8) | (4)) 
00064 
00065 DBUS_END_DECLS
00066 
00067 #endif /* DBUS_ARCH_DEPS_H */

Generated on Sat Dec 6 19:43:43 2008 for D-Bus by  doxygen 1.5.1