Use statically known types, use hash for formats
[babeltrace.git] / types / types.c
index f4843e6a87384c2cd29bf633f480329bb2f11e55..7aeb74aa002956e03f82203fc07e4f4edb6557d3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Common Trace Format - Converter
+ * BabelTrace - Converter
  *
  * Types registry.
  *
 #include <glib.h>
 #include <errno.h>
 
-struct type_class {
-       GQuark qname;
-       void (*read)();
-       size_t (*write)();
-};
-
-struct type {
-       struct type_class *class;
-       size_t alignment;       /* type alignment, in bits */
-       ssize_t len;            /* type length, in bits. -1 for dynamic size. */
-};
-
 /*
  * Type class hash table contains the registered type classes. Type class
  * registration is typically performed by a plugin.
This page took 0.023094 seconds and 4 git commands to generate.