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