#ifndef MCDEF_TOOLS #include "marsconf.h" #include "fviews.h" void empty_is_dash(SSTRING &given_string, int reading_var); void set_bit_status(int &provided_mask, int which_bit, const char bit_status); char get_bit_status(int provided_mask, int which_bit); int hextoi(const char *given_string); char check_charflag(const char *given_string, char given_flag); void set_charflag(SSTRING &modify_this_one, char given_flag, char flag_status); int check_if_duplicated_entry(VIEWITEMS &my_vitems, const char *data_to_check, int which_group, int skip_this_line, int which_word); void minor_adjust(SSTRING &given_string); int insert_to_dialog_records(DIALOG_RECORDS &my_dialog, VIEWITEMS &my_vitems, int group_number, int first_field, int second_field); int replace_word_to_eol(SSTRING &affected_string, const char *new_data, int which_word, int what_is_illegal); int replace_word(SSTRING &affected_string, const char *new_data, int which_word, int what_is_illegal); int replace_word(SSTRING &affected_string, const char *new_data, int which_word, int what_is_illegal, int to_eol); int has_illegal_chars(const char *given_string, int what_is_illegal); int load_standalone_vardata(SSTRING &write_here, VIEWITEMS &my_vitems, int which_group, int which_word); void save_standalone_vardata(const char *write_this, VIEWITEMS &my_vitems, int which_group, int which_word); char load_standalone_bin_flag(VIEWITEMS &my_vitems, int which_group, int which_word, int which_bit); void save_standalone_bin_flag(const char write_this, VIEWITEMS &my_vitems, int which_group, int which_word, int which_bit); #define ILLEGAL_SPACES 1 #define ILLEGAL_EMPTYNESS 2 #define UPPERCASE_ONLY 4 #define DIGITS_ONLY 8 #define MCDEF_TOOLS #endif