| | |
| | | scpi_bool_t composeCompoundCommand(const scpi_token_t * prev, scpi_token_t * current) LOCAL; |
| | | |
| | | |
| | | #define MAX_OPTION_LEN 256 |
| | | #define MAX_TAGS 10 |
| | | #define MAX_INPUT_LEN 256 |
| | | int extract_required_options(const char* pattern, char options[MAX_TAGS][MAX_OPTION_LEN][MAX_OPTION_LEN], int max_tags); |
| | | int match_input_to_options(const char* input, char options[MAX_TAGS][MAX_OPTION_LEN][MAX_OPTION_LEN], int num_tags); |
| | | bool test_match(const char* pattern, const char* command); |
| | | |
| | | |
| | | #define SCPI_DTOSTRE_UPPERCASE 1 |
| | | #define SCPI_DTOSTRE_ALWAYS_SIGN 2 |
| | | #define SCPI_DTOSTRE_PLUS_SIGN 4 |