scpi-parser, adopted from github
Diff: common/scpi-def.h
- Revision:
- 0:d8aca47812e0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/scpi-def.h Fri Nov 14 01:07:59 2014 +0000 @@ -0,0 +1,27 @@ +#ifndef __SCPI_DEF_H_ +#define __SCPI_DEF_H_ + +#include "scpi/scpi.h" + +#ifdef __cplusplus +extern "C" { +#endif + +extern scpi_t scpi_context; + +size_t SCPI_Write(scpi_t * context, const char * data, size_t len); +int SCPI_Error(scpi_t * context, int_fast16_t err); +scpi_result_t SCPI_Control(scpi_t * context, scpi_ctrl_name_t ctrl, scpi_reg_val_t val); +scpi_result_t SCPI_Reset(scpi_t * context); +scpi_result_t SCPI_Test(scpi_t * context); +scpi_result_t SCPI_Flush(scpi_t * context); + + +scpi_result_t SCPI_SystemCommTcpipControlQ(scpi_t * context); + +#ifdef __cplusplus +} +#endif + +#endif // __SCPI_DEF_H_ +