From 2ecafa09c47312ea3174d028961a3de9d9fbc9da Mon Sep 17 00:00:00 2001
From: Jan Breuer <jan.breuer@jaybee.cz>
Date: 周二, 04 12月 2012 18:47:43 +0800
Subject: [PATCH] Add missing function prototype - SCPI_ParamText

---
 scpi/scpi_error.h |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/scpi/scpi_error.h b/scpi/scpi_error.h
index b5da831..5d8315e 100644
--- a/scpi/scpi_error.h
+++ b/scpi/scpi_error.h
@@ -37,13 +37,17 @@
 #ifndef SCPI_ERROR_H
 #define	SCPI_ERROR_H
 
+#include "scpi_types.h"
+
 #ifdef	__cplusplus
 extern "C" {
 #endif
-
-    void SCPI_ErrorClear(scpi_context_t * context);
-    int16_t SCPI_ErrorPop(scpi_context_t * context);
-    void SCPI_ErrorPush(scpi_context_t * context, int16_t err);
+    
+    void SCPI_ErrorInit(scpi_t * context);
+    void SCPI_ErrorClear(scpi_t * context);
+    int16_t SCPI_ErrorPop(scpi_t * context);
+    void SCPI_ErrorPush(scpi_t * context, int16_t err);
+    int32_t SCPI_ErrorCount(scpi_t * context);    
     const char * SCPI_ErrorTranslate(int16_t err);
 
 #define SCPI_ERROR_SYNTAX               -102
@@ -54,6 +58,8 @@
 #define SCPI_ERROR_INVALID_SUFFIX       -131
 #define SCPI_ERROR_SUFFIX_NOT_ALLOWED   -138
 
+#define SCPI_ERROR_EXECUTION_ERROR      -200    
+    
 #ifdef	__cplusplus
 }
 #endif

--
Gitblit v1.9.1