blob: eb3bb9049e9405b784645a54f0c1043b5a619096 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
From aebf924fce126e4eb1409e995edb78f7c02f65b1 Mon Sep 17 00:00:00 2001
From: Will Thompson <will.thompson@collabora.co.uk>
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
|