1 /******************************************************************************
2 * Copyright (c) 2000-2016 Ericsson Telecom AB
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
18 * Szabo, Janos Zoltan – initial implementation
20 ******************************************************************************/
28 #include "datatypes.h"
29 #include "../common/memory.h"
31 typedef struct tcov_file_list
33 struct tcov_file_list *next;
34 expstring_t file_name;
37 extern const char *get_tcov_file_name(const char *file_name);
38 extern boolean in_tcov_files(const char *file_name);
40 extern const char *output_dir, **top_level_pdu, *tcov_file_name;
41 extern tcov_file_list *tcov_files;
42 extern expstring_t effective_module_lines;
43 extern expstring_t effective_module_functions;
44 extern size_t nof_top_level_pdus;
45 extern unsigned int nof_notupdated_files;
47 extern boolean generate_skeleton, force_overwrite, include_line_info,
48 include_location_info, duplicate_underscores, parse_only, semantic_check_only,
49 output_only_linenum, default_as_optional, use_runtime_2, gcc_compat, asn1_xer,
50 check_subtype, suppress_context, enable_set_bound_out_param, display_up_to_date,
51 implicit_json_encoding, json_refs_for_all_types, force_gen_seof,
52 omit_in_value_list, warnings_for_bad_variants, debugger_active,
53 legacy_unbound_union_fields;
55 extern const char *expected_platform;
57 extern boolean enable_raw(void);
58 extern boolean enable_ber(void);
59 extern boolean enable_per(void);
60 extern boolean enable_text(void);
61 extern boolean enable_xer(void);
62 extern boolean enable_json(void);
65 * Checks whether the checking of encoding/decoding attributes is disabled.
67 * Needed for standard modules where errors are caused by missing attributes
68 * (which should not be reported if doing only semantic checking).
70 * @return TRUE if checking the encoding/decoding attributes is disabled,
73 extern boolean disable_attribute_validation(void);
75 extern char *canonize_input_file(const char *path_name);