X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=formats%2Fctf%2Fmetadata%2Fctf-ast.h;h=ef863a0f2061fe929356927ce33a089ebc4be800;hb=d40ee8ec4ac9998f69383218762662ba01e89513;hp=ea46d3a3b3da6dfaa283760de0a55de9be2be9b6;hpb=3122e6f075647374e7a98ae9501d100de8d004a9;p=babeltrace.git diff --git a/formats/ctf/metadata/ctf-ast.h b/formats/ctf/metadata/ctf-ast.h index ea46d3a3..ef863a0f 100644 --- a/formats/ctf/metadata/ctf-ast.h +++ b/formats/ctf/metadata/ctf-ast.h @@ -1,18 +1,27 @@ -#ifndef _CTF_PARSER_H -#define _CTF_PARSER_H +#ifndef _CTF_AST_H +#define _CTF_AST_H + +/* + * ctf-ast.h + * + * Copyright 2011-2012 - Mathieu Desnoyers + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + */ #include #include #include #include -// the parameter name (of the reentrant 'yyparse' function) -// data is a pointer to a 'SParserParam' structure -//#define YYPARSE_PARAM scanner - -// the argument for the 'yylex' function -#define YYLEX_PARAM ((struct ctf_scanner *) scanner)->scanner - struct ctf_node; struct ctf_parser; @@ -283,4 +292,4 @@ int ctf_visitor_parent_links(FILE *fd, int depth, struct ctf_node *node); int ctf_visitor_construct_metadata(FILE *fd, int depth, struct ctf_node *node, struct ctf_trace *trace, int byte_order); -#endif /* _CTF_PARSER_H */ +#endif /* _CTF_AST_H */