Merge branch 'master' of https://github.com/j123b567/scpi-parser
| | |
| | | int SCPI_Parse(scpi_t * context, char * data, size_t len); |
| | | |
| | | scpi_bool_t SCPI_IsCmd(scpi_t * context, const char * cmd); |
| | | scpi_bool_t SCPI_Match(const char * pattern, const char * value, size_t len); |
| | | |
| | | size_t SCPI_ResultString(scpi_t * context, const char * data); |
| | | size_t SCPI_ResultInt(scpi_t * context, int32_t val); |
| | |
| | | const char * pattern = context->paramlist.cmd->pattern; |
| | | return matchCommand (pattern, cmd, strlen (cmd)); |
| | | } |
| | | |
| | | scpi_bool_t SCPI_Match(const char * pattern, const char * value, size_t len) { |
| | | return matchCommand (pattern, value, len); |
| | | } |