Add type class/type structure management
[babeltrace.git] / include / babeltrace / ctf / metadata.h
CommitLineData
c054553d
MD
1#ifndef _BABELTRACE_CTF_METADATA_H
2#define _BABELTRACE_CTF_METADATA_H
3
4/*
5 * BabelTrace
6 *
7 * CTF Metadata Header
8 *
9 * Copyright 2011 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
10 *
11 * Permission is hereby granted, free of charge, to any person obtaining a copy
12 * of this software and associated documentation files (the "Software"), to deal
13 * in the Software without restriction, including without limitation the rights
14 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15 * copies of the Software, and to permit persons to whom the Software is
16 * furnished to do so, subject to the following conditions:
17 *
18 * The above copyright notice and this permission notice shall be included in
19 * all copies or substantial portions of the Software.
20 */
21
22#include <babeltrace/types.h>
23#include <glib.h>
24
25struct ctf_trace;
26struct ctf_stream;
27struct ctf_event;
28
29struct ctf_trace {
30 struct declaration_scope *scope;
31};
32
33struct ctf_stream {
34 struct declaration_scope *scope;
35 GArray *events_by_id; /* Array of struct ctf_event indexed by id */
36 GHashTable *event_quark_to_id; /* GQuark to numeric id */
37};
38
39
40struct ctf_event {
41 struct declaration_scope *scope;
42 GQuark qname;
43};
44
45#endif /* _BABELTRACE_CTF_METADATA_H */
This page took 0.023453 seconds and 4 git commands to generate.