+/* Stream bits -- these bits are new as of 24Nov10 */
+#define STREAM_BIT_64 (1<<30) /* 64 bit stream (not yet implemented) */
+#define STREAM_BIT_BITS (1<<29) /* Following bits may be set */
+#define STREAM_BIT_PLUGIN (1<<28) /* Item written by a plugin */
+#define STREAM_BIT_DELTA (1<<27) /* Stream contains delta data */
+#define STREAM_BIT_OFFSETS (1<<26) /* Stream has data offset */
+#define STREAM_BIT_PORTABLE_DATA (1<<25) /* Data is portable */
+
+/* TYPE represents our current (old) stream types -- e.g. values 0 - 2047 */
+#define STREAMBASE_TYPE 0 /* base for types */
+#define STREAMBITS_TYPE 11 /* type bit size */
+#define STREAMMASK_TYPE (~((~0)<< STREAMBITS_TYPE) << STREAMBASE_TYPE)
+/*
+ * Note additional base, bits, and masks can be defined for new
+ * ranges or subranges of stream attributes.
+ */