X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=formats%2Fctf%2Fmetadata%2Fctf-scanner.h;h=d5650d0a703e7fb39fb77fbf54079243351895dc;hb=052606bbbaf96064f9c59fe0c4a4a557739833c4;hp=f25efb9e5277cb2c78d12deebe49e238e81b1cdb;hpb=609bd1bf5e7d2dd8925281f4494a968d72ed9c14;p=babeltrace.git diff --git a/formats/ctf/metadata/ctf-scanner.h b/formats/ctf/metadata/ctf-scanner.h index f25efb9e..d5650d0a 100644 --- a/formats/ctf/metadata/ctf-scanner.h +++ b/formats/ctf/metadata/ctf-scanner.h @@ -1,6 +1,22 @@ #ifndef _CTF_SCANNER_H #define _CTF_SCANNER_H +/* + * ctf-scanner.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 "ctf-ast.h" @@ -20,7 +36,7 @@ struct ctf_scanner { struct ctf_ast *ast; struct ctf_scanner_scope root_scope; struct ctf_scanner_scope *cs; - struct cds_list_head allocated_strings; + struct bt_list_head allocated_strings; }; struct ctf_scanner *ctf_scanner_alloc(FILE *input); @@ -33,6 +49,7 @@ struct ctf_ast *ctf_scanner_get_ast(struct ctf_scanner *scanner) return scanner->ast; } +__attribute__((visibility("hidden"))) int is_type(struct ctf_scanner *scanner, const char *id); #endif /* _CTF_SCANNER_H */