Jan Breuer
2012-12-04 615442c342cde9a69b95af133d90cd2e08568cb0
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