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
19 * Szabo, Janos Zoltan – initial implementation
21 ******************************************************************************/
29 #include "datatypes.h"
30 #include "../common/memory.h"
32 typedef struct tcov_file_list
34 struct tcov_file_list *next;
35 expstring_t file_name;
38 extern const char *get_tcov_file_name(const char *file_name);
39 extern boolean in_tcov_files(const char *file_name);
41 extern const char *output_dir, **top_level_pdu, *tcov_file_name;
42 extern tcov_file_list *tcov_files;
43 extern expstring_t effective_module_lines;
44 extern expstring_t effective_module_functions;
45 extern size_t nof_top_level_pdus;
46 extern unsigned int nof_notupdated_files;
48 extern boolean generate_skeleton, force_overwrite, include_line_info,
49 include_location_info, duplicate_underscores, parse_only, semantic_check_only,
50 output_only_linenum, default_as_optional, use_runtime_2, gcc_compat, asn1_xer,
51 check_subtype, suppress_context, enable_set_bound_out_param, display_up_to_date,
52 implicit_json_encoding, json_refs_for_all_types, force_gen_seof,
53 omit_in_value_list, warnings_for_bad_variants, debugger_active,
54 legacy_unbound_union_fields, split_to_slices;
56 extern const char *expected_platform;
58 extern boolean enable_raw(void);
59 extern boolean enable_ber(void);
60 extern boolean enable_per(void);
61 extern boolean enable_text(void);
62 extern boolean enable_xer(void);
63 extern boolean enable_json(void);
66 * Checks whether the checking of encoding/decoding attributes is disabled.
68 * Needed for standard modules where errors are caused by missing attributes
69 * (which should not be reported if doing only semantic checking).
71 * @return TRUE if checking the encoding/decoding attributes is disabled,
74 extern boolean disable_attribute_validation(void);
76 extern char *canonize_input_file(const char *path_name);