X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Ftypes.h;h=e8480122f9d42afde41d88e09373482e3bcc368a;hp=cee6c5a3c4ef2995e17d00d9459488225b5e5632;hb=05628561ca57ff5d269571a72a12cb86854c5f70;hpb=96513a7fdd4e81addb67df1a937236748aeee32a diff --git a/include/babeltrace/types.h b/include/babeltrace/types.h index cee6c5a3..e8480122 100644 --- a/include/babeltrace/types.h +++ b/include/babeltrace/types.h @@ -101,7 +101,21 @@ struct declaration_scope { struct declaration_scope *parent_scope; }; +enum ctf_type_id { + CTF_TYPE_UNKNOWN = 0, + CTF_TYPE_INTEGER, + CTF_TYPE_FLOAT, + CTF_TYPE_ENUM, + CTF_TYPE_STRING, + CTF_TYPE_STRUCT, + CTF_TYPE_VARIANT, + CTF_TYPE_ARRAY, + CTF_TYPE_SEQUENCE, + NR_CTF_TYPES, +}; + struct type { + enum ctf_type_id id; GQuark name; /* type name */ size_t alignment; /* type alignment, in bits */ int ref; /* number of references to the type */