From: Will Thompson Date: Wed, 29 Jul 2009 16:47:04 +0000 (+0100) Subject: Add a constant for the number of message types X-Git-Tag: dbus-1.3.1~120^2~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a6a21bf33570000006a90efe02c0948605147245;p=platform%2Fupstream%2Fdbus.git Add a constant for the number of message types --- diff --git a/dbus/dbus-protocol.h b/dbus/dbus-protocol.h index a2284ee..17798e9 100644 --- a/dbus/dbus-protocol.h +++ b/dbus/dbus-protocol.h @@ -239,6 +239,8 @@ extern "C" { /** Message type of a signal message, see dbus_message_get_type() */ #define DBUS_MESSAGE_TYPE_SIGNAL 4 +#define DBUS_NUM_MESSAGE_TYPES 5 + /* Header flags */ /** If set, this flag means that the sender of a message does not care about getting