| | |
| | | |
| | | struct _scpi_token_t { |
| | | scpi_token_type_t type; |
| | | const char * ptr; |
| | | char * ptr; |
| | | int len; |
| | | }; |
| | | typedef struct _scpi_token_t scpi_token_t; |
| | | |
| | | struct _lex_state_t { |
| | | const char * buffer; |
| | | const char * pos; |
| | | char * buffer; |
| | | char * pos; |
| | | int len; |
| | | }; |
| | | typedef struct _lex_state_t lex_state_t; |
| | |
| | | typedef struct _scpi_param_list_t scpi_param_list_t; |
| | | |
| | | struct _scpi_number_parameter_t { |
| | | double value; |
| | | scpi_bool_t special; |
| | | union { |
| | | double value; |
| | | int32_t tag; |
| | | }; |
| | | scpi_unit_t unit; |
| | | int8_t base; |
| | | scpi_special_number_t type; |
| | | }; |
| | | typedef struct _scpi_number_parameter_t scpi_number_t; |
| | | |