#define _CTF_PARSER_H
#include <stdint.h>
-#include <helpers/list.h>
#include <stdio.h>
#include <glib.h>
+#include <babeltrace/list.h>
// the parameter name (of the reentrant 'yyparse' function)
// data is a pointer to a 'SParserParam' structure
} string;
struct {
char *id;
- /* range list or single value node */
+ /*
+ * Range list or single value node. Contains unary
+ * expressions.
+ */
struct cds_list_head values;
} enumerator;
struct {
struct cds_list_head allocated_nodes;
};
+const char *node_type(struct ctf_node *node);
+
int ctf_visitor_print_xml(FILE *fd, int depth, struct ctf_node *node);
+int ctf_visitor_semantic_check(FILE *fd, int depth, struct ctf_node *node);
+int ctf_visitor_parent_links(FILE *fd, int depth, struct ctf_node *node);
#endif /* _CTF_PARSER_H */