| | |
| | | */ |
| | | |
| | | #include <string.h> |
| | | #include "scpi.h" |
| | | #include "scpi_parser.h" |
| | | #include "scpi_units.h" |
| | | #include "scpi_utils.h" |
| | | #include "scpi_error.h" |
| | |
| | | * @param mandatory if the parameter is mandatory |
| | | * @return |
| | | */ |
| | | bool_t SCPI_ParamNumber(scpi_context_t * context, scpi_number_t * value, bool_t mandatory) { |
| | | bool_t SCPI_ParamNumber(scpi_t * context, scpi_number_t * value, bool_t mandatory) { |
| | | bool_t result; |
| | | char * param; |
| | | size_t len; |
| | |
| | | |
| | | } |
| | | |
| | | size_t SCPI_NumberToStr(scpi_context_t * context, scpi_number_t * value, char * str, size_t len) { |
| | | size_t SCPI_NumberToStr(scpi_t * context, scpi_number_t * value, char * str, size_t len) { |
| | | const char * type; |
| | | const char * unit; |
| | | size_t result; |