dbus/dbus dbus-protocol.h,1.21,1.22
Havoc Pennington
hp@pdx.freedesktop.org
Thu, 09 Oct 2003 20:56:32 -0700
Update of /cvs/dbus/dbus/dbus
In directory pdx:/tmp/cvs-serv17200/dbus
Modified Files:
dbus-protocol.h
Log Message:
2003-10-09 Havoc Pennington <hp@redhat.com>
* configure.in: define DBUS_HAVE_GCC33_GCOV if we have
gcc 3.3. Not that we do anything about it yet.
* bus/signals.c (bus_match_rule_parse): impose max length on the
match rule text
* dbus/dbus-protocol.h: add DBUS_MAXIMUM_MATCH_RULE_LENGTH
Index: dbus-protocol.h
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-protocol.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- dbus-protocol.h 30 Sep 2003 02:32:53 -0000 1.21
+++ dbus-protocol.h 10 Oct 2003 03:56:30 -0000 1.22
@@ -60,6 +60,9 @@
/* Max length in bytes of a service or interface or member name */
#define DBUS_MAXIMUM_NAME_LENGTH 256
+/* Max length of a match rule string */
+#define DBUS_MAXIMUM_MATCH_RULE_LENGTH 1024
+
/* Types of message */
#define DBUS_MESSAGE_TYPE_INVALID 0
#define DBUS_MESSAGE_TYPE_METHOD_CALL 1