Basic types
[D-Bus low-level public API]

dbus_bool_t, dbus_int32_t, etc. More...

Defines

#define DBUS_HAVE_INT64   1
 Defined if 64-bit integers are available.
#define DBUS_INT64_CONSTANT(val)   (val##LL)
 Declare a 64-bit signed integer constant.
#define DBUS_UINT64_CONSTANT(val)   (val##ULL)
 Declare a 64-bit unsigned integer constant.

Typedefs

typedef dbus_uint32_t dbus_bool_t
 A boolean, valid values are TRUE and FALSE.
typedef unsigned int dbus_uint32_t
 A 32-bit unsigned integer on all platforms.
typedef int dbus_int32_t
 A 32-bit signed integer on all platforms.
typedef unsigned short dbus_uint16_t
 A 16-bit unsigned integer on all platforms.
typedef short dbus_int16_t
 A 16-bit signed integer on all platforms.
typedef unsigned long long dbus_uint64_t
 A 64-bit unsigned integer on all platforms that support it.
typedef long long dbus_int64_t
 A 64-bit signed integer on all platforms that support it.

Detailed Description

dbus_bool_t, dbus_int32_t, etc.

Typedefs for common primitive types.


Define Documentation

#define DBUS_HAVE_INT64   1

Defined if 64-bit integers are available.

Will be defined on any platform you care about, unless you care about some truly ancient UNIX, or some bizarre embedded platform.

C99 requires a 64-bit type and most likely all interesting compilers support one. GLib for example flat-out requires a 64-bit type.

You should feel comfortable ignoring this macro and just using int64 unconditionally.

#define DBUS_INT64_CONSTANT ( val   )     (val##LL)

Declare a 64-bit signed integer constant.

The macro adds the necessary "LL" or whatever after the integer, giving a literal such as "325145246765LL"

#define DBUS_UINT64_CONSTANT ( val   )     (val##ULL)

Declare a 64-bit unsigned integer constant.

The macro adds the necessary "ULL" or whatever after the integer, giving a literal such as "325145246765ULL"


Typedef Documentation

dbus_int64_t

A 64-bit signed integer on all platforms that support it.

If supported, DBUS_HAVE_INT64 will be defined.

C99 requires a 64-bit type and most likely all interesting compilers support one. GLib for example flat-out requires a 64-bit type.

You probably want to just assume DBUS_HAVE_INT64 is always defined.

Definition at line 36 of file dbus-arch-deps.h.

dbus_uint64_t

A 64-bit unsigned integer on all platforms that support it.

If supported, DBUS_HAVE_INT64 will be defined.

C99 requires a 64-bit type and most likely all interesting compilers support one. GLib for example flat-out requires a 64-bit type.

You probably want to just assume DBUS_HAVE_INT64 is always defined.

Definition at line 37 of file dbus-arch-deps.h.


Generated on Tue Apr 15 15:54:12 2008 for D-Bus by  doxygen 1.5.1