summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-marshal-recursive.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2005-01-01 21:05:48 +0000
committerHavoc Pennington <hp@redhat.com>2005-01-01 21:05:48 +0000
commit10f0f04980108f92931fd59915939f5f75972639 (patch)
treea15051dce646c68a0fefb6035096d7cb5df83f89 /dbus/dbus-marshal-recursive.h
parente07789e51163e4bf760b04fe48a28e15286b642b (diff)
chop dbus-marshal-basic in half and move it to be insertion rather than append based
Diffstat (limited to 'dbus/dbus-marshal-recursive.h')
-rw-r--r--dbus/dbus-marshal-recursive.h19
1 files changed, 16 insertions, 3 deletions
diff --git a/dbus/dbus-marshal-recursive.h b/dbus/dbus-marshal-recursive.h
index 08df130a..f8384478 100644
--- a/dbus/dbus-marshal-recursive.h
+++ b/dbus/dbus-marshal-recursive.h
@@ -4,7 +4,7 @@
* Copyright (C) 2004 Red Hat, Inc.
*
* Licensed under the Academic Free License version 2.1
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -14,7 +14,7 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
@@ -25,12 +25,25 @@
#define DBUS_MARSHAL_RECURSIVE_H
#include <config.h>
-#include <dbus/dbus-marshal-basic.h>
+#include <dbus/dbus-marshal-basic.h> /* this can become protocol.h when we merge */
#ifndef PACKAGE
#error "config.h not included here"
#endif
+/* Features we need to port dbus-message:
+ * - memoize a position of a reader for small/fast access later
+ * - delete an array element and re-align the remainder of the array
+ * (not necessary yet to re-align remainder of entire string,
+ * though that's probably just as hard/easy)
+ * - set string, int, etc. values at a memoized position
+ * (implement generic set of any value? changes only
+ * value_str not type_str)
+ * - implement has_next()
+ * - the all-in-one-block array accessors
+ * - validation
+ */
+
typedef struct DBusTypeReader DBusTypeReader;
typedef struct DBusTypeWriter DBusTypeWriter;
typedef struct DBusTypeReaderClass DBusTypeReaderClass;