Added include/parsing.h

This commit is contained in:
Jean Sirmai 2023-04-18 11:16:52 +02:00
parent 4a46e62cbc
commit 2a9ed561fb
Signed by: jean
GPG Key ID: FB3115C340E057E3
1 changed files with 25 additions and 0 deletions

25
include/parsing.h Normal file
View File

@ -0,0 +1,25 @@
#include <stdbool.h>
#include <libxml/parser.h>
// #define LIBXML_TEST_VERSION
// xmlCheckVersion(20912)
bool model_init(char *docname);
bool model_shutdown(char *docname);
char model_get_dim(xmlChar *reste);
char model_get_dim_X(xmlChar *path);
char model_get_dim_Y(xmlChar *path);
char model_get_dim_Z(xmlChar *path);
char model_get_dim_value(xmlChar *path, xmlChar *axis);
char model_get_cond (xmlChar *path, xmlChar *node_id);
char model_get_trans (xmlChar *path, xmlChar *node_id);
char model_get_cond_tree (xmlChar *path);
char model_get_multiplicity (xmlChar *path);
char model_get_objects_list(xmlChar *path);
char model_get_states_list(xmlChar *path);
long model_get_state_arrows_count(xmlChar *path, long n);
int model_get_state(xmlChar *path, xmlChar *state_id);
char model_get_conditions_list(xmlChar *path);
char model_get_transitions_list(xmlChar *path);