Use inheritance for trace descriptor and positions
[babeltrace.git] / formats / ctf / types / sequence.c
CommitLineData
d06d03db
MD
1/*
2 * Common Trace Format
3 *
4 * Sequence format access functions.
5 *
ccd7e1c8 6 * Copyright 2010 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
d06d03db 7 *
ccd7e1c8
MD
8 * Permission is hereby granted, free of charge, to any person obtaining a copy
9 * of this software and associated documentation files (the "Software"), to deal
10 * in the Software without restriction, including without limitation the rights
11 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 * copies of the Software, and to permit persons to whom the Software is
13 * furnished to do so, subject to the following conditions:
d06d03db 14 *
ccd7e1c8
MD
15 * The above copyright notice and this permission notice shall be included in
16 * all copies or substantial portions of the Software.
d06d03db
MD
17 */
18
19#include <babeltrace/ctf/types.h>
20
46322b33 21void ctf_sequence_begin(struct stream_pos *ppos,
f6625916 22 const struct declaration_sequence *sequence_declaration)
d06d03db 23{
46322b33
MD
24 struct ctf_stream_pos *pos = ctf_pos(ppos);
25
26 ctf_align_pos(pos, sequence_declaration->p.alignment);
d06d03db
MD
27}
28
29void ctf_sequence_end(struct stream_pos *pos,
f6625916 30 const struct declaration_sequence *sequence_declaration)
d06d03db
MD
31{
32}
This page took 0.023624 seconds and 4 git commands to generate.