aboutsummaryrefslogtreecommitdiff
path: root/reference_model/src/func_config.h
diff options
context:
space:
mode:
authorKevin Cheng <kevin.cheng@arm.com>2021-10-20 19:51:41 +0000
committerKevin Cheng <kevin.cheng@arm.com>2021-10-26 19:09:45 +0000
commit1009674513d09af1a699a8bf0f646c7130d7a0ac (patch)
tree87d5aa66371d6608be2021826611ad4c0dd85523 /reference_model/src/func_config.h
parent8c06a6547a132f0a22fa34d467026f12fabb4e1f (diff)
downloadreference_model-1009674513d09af1a699a8bf0f646c7130d7a0ac.tar.gz
Add version to reference model
- update serialization_lib hash - check model version against serializer version - add "-v" to command line option to print out model version Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: I554cf0fdead22e7e5f91d2e98831459286c40a2d
Diffstat (limited to 'reference_model/src/func_config.h')
-rw-r--r--reference_model/src/func_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/reference_model/src/func_config.h b/reference_model/src/func_config.h
index f941300..33cc1b1 100644
--- a/reference_model/src/func_config.h
+++ b/reference_model/src/func_config.h
@@ -45,7 +45,7 @@ int func_model_init_config();
int func_model_set_default_config(func_config_t*);
int func_model_config_set_option(func_config_t*, const char* name, const char* value);
int func_model_print_config(func_config_t*, FILE* out);
-int func_model_parse_cmd_line(func_config_t*, func_debug_t* func_debug, const int argc, const char** argv);
+int func_model_parse_cmd_line(func_config_t*, func_debug_t* func_debug, const int argc, const char** argv, const char* version);
int func_model_parse_flat_config_file(func_config_t*, const char* filename);
int func_model_config_cleanup();
int func_model_config_get_str_option_by_name(func_config_t*, const char* name, char* value, const uint32_t len);