From 697414b42a36a0c529bd1c95d82c81a09bfb0ec9 Mon Sep 17 00:00:00 2001 From: Jan Breuer <jan.breuer@jaybee.cz> Date: 周二, 04 12月 2012 19:08:55 +0800 Subject: [PATCH] Update README - syntax correction and cleanup --- scpi/scpi_parser.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/scpi/scpi_parser.h b/scpi/scpi_parser.h index b18240c..277a0e5 100644 --- a/scpi/scpi_parser.h +++ b/scpi/scpi_parser.h @@ -44,7 +44,7 @@ extern "C" { #endif - void SCPI_Init(scpi_t * context, scpi_command_t * command_list, scpi_buffer_t * buffer, scpi_interface_t * interface); + void SCPI_Init(scpi_t * context); int SCPI_Input(scpi_t * context, const char * data, size_t len); int SCPI_Parse(scpi_t * context, const char * data, size_t len); @@ -58,6 +58,7 @@ bool_t SCPI_ParamInt(scpi_t * context, int32_t * value, bool_t mandatory); bool_t SCPI_ParamDouble(scpi_t * context, double * value, bool_t mandatory); bool_t SCPI_ParamString(scpi_t * context, char ** value, size_t * len, bool_t mandatory); + bool_t SCPI_ParamText(scpi_t * context, char ** value, size_t * len, bool_t mandatory); #ifdef __cplusplus -- Gitblit v1.9.1