From a6a21bf33570000006a90efe02c0948605147245 Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Wed, 29 Jul 2009 17:47:04 +0100 Subject: [PATCH] Add a constant for the number of message types --- dbus/dbus-protocol.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.7.4