X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=formats%2Fctf%2Fmetadata%2Fctf-scanner.h;h=4de343027b522e788fbda44365f0082674d5114f;hb=30827463276bab779a0965e8adf271c451c2a28a;hp=07b5df7c75ac1d64201ee35587a174a39cf48212;hpb=34d3acc4fc9f020b0e2616a29a339b5c546a05c1;p=babeltrace.git diff --git a/formats/ctf/metadata/ctf-scanner.h b/formats/ctf/metadata/ctf-scanner.h index 07b5df7c..4de34302 100644 --- a/formats/ctf/metadata/ctf-scanner.h +++ b/formats/ctf/metadata/ctf-scanner.h @@ -9,12 +9,18 @@ typedef void* yyscan_t; #endif +struct ctf_scanner_scope; +struct ctf_scanner_scope { + struct ctf_scanner_scope *parent; + GHashTable *types; +}; + struct ctf_scanner { yyscan_t scanner; struct ctf_ast *ast; - struct scope root_scope; - struct scope *cs; - struct cds_list_head allocated_strings; + struct ctf_scanner_scope root_scope; + struct ctf_scanner_scope *cs; + struct bt_list_head allocated_strings; }; struct ctf_scanner *ctf_scanner_alloc(FILE *input);