////////////////////////////////////////////////////////////////////////////// // // // salt.def -- Telix SALT generic declarions file to be // // included at the beginning of template.slt // // // // Defines status and error constants for all // // functions // // // // Author: Dave Minor // // // // Date: 16-APR-1990 // // // ////////////////////////////////////////////////////////////////////////////// // Logical Definitions // int _true = 0x1, _false = 0x0, _stop = 0x2, _go = 0x3, _pause = 0x4, _abort = 0x5, _continue = 0x6, _used = 0x1, UNUSED = 0; ////////////////////////////////////////////////////////////////////////////// // Status Definitions // int _system_status, _normal = 0x1, _initialize = 0x2, _error = 0x0, _wildcard, _none_found = 0x0, _one_found = 0x1, _two_found = 0x2, _three_found = 0x3, _template_match, _match = 0x1, _int_mismatch = 0x2, _const_mismatch = 0x3, _int_1_mismatch = 0x4, _int_2_mismatch = 0x5, _int_3_mismatch = 0x6; ////////////////////////////////////////////////////////////////////////////// // Error Defintions // int _system_error, _no_error = 0x0, _file_not_found = 0x1, _com_not_found = 0x2, _dexcs_not_found = 0x3, _salt_not_found = 0x4, _fatal = 0x5; ////////////////////////////////////////////////////////////////////////////// // Constants // int _max_string_length = 81, _max_template_length = 121, _max_int_length = 9; str NULL[] = "^0"; ////////////////////////////////////////////////////////////////////////////// // Variables // str string_in[81], template[121];