Add structures
[babeltrace.git] / formats / ctf / types / struct.c
index 3aa8d58764e280e0c9811eed1209be8d9b29e228..729c456e63c5769663ce720fadf7aa7a2b7e0ccb 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Common Trace Format
  *
- * Structure write/access functions.
+ * Structure format access functions.
  *
  * Copyright (c) 2010 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  *
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include <ctf/ctf-types.h>
+#include <babeltrace/ctf/types.h>
 #include <glib.h>
 
+void ctf_struct_begin(struct stream_pos *pos,
+                     const struct type_class_struct *struct_class)
+{
+       align_pos(pos, struct_class->p.alignment);
+}
 
+void ctf_struct_end(struct stream_pos *pos,
+                   const struct type_class_struct *struct_class)
+{
+}
This page took 0.041909 seconds and 4 git commands to generate.