ctf.fs: bt_ctf_notif_iter_create(): assert() that all medops exist
[babeltrace.git] / formats / ctf / metadata / ctf-scanner.h
index d5650d0a703e7fb39fb77fbf54079243351895dc..51484a1d8252bac74bc94190b04f3f6c63a8c4b5 100644 (file)
@@ -36,12 +36,12 @@ struct ctf_scanner {
        struct ctf_ast *ast;
        struct ctf_scanner_scope root_scope;
        struct ctf_scanner_scope *cs;
-       struct bt_list_head allocated_strings;
+       struct objstack *objstack;
 };
 
-struct ctf_scanner *ctf_scanner_alloc(FILE *input);
+struct ctf_scanner *ctf_scanner_alloc(void);
 void ctf_scanner_free(struct ctf_scanner *scanner);
-int ctf_scanner_append_ast(struct ctf_scanner *scanner);
+int ctf_scanner_append_ast(struct ctf_scanner *scanner, FILE *input);
 
 static inline
 struct ctf_ast *ctf_scanner_get_ast(struct ctf_scanner *scanner)
@@ -49,7 +49,7 @@ struct ctf_ast *ctf_scanner_get_ast(struct ctf_scanner *scanner)
        return scanner->ast;
 }
 
-__attribute__((visibility("hidden")))
+BT_HIDDEN
 int is_type(struct ctf_scanner *scanner, const char *id);
 
 #endif /* _CTF_SCANNER_H */
This page took 0.024076 seconds and 4 git commands to generate.