From ee9413282d02d936185dc88a34bb817a1a273e6d Mon Sep 17 00:00:00 2001 From: daniel Date: Wed, 9 Jan 2013 14:02:09 +0900 Subject: A few more clean ups --- libvxi11client/libvxi11client.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'libvxi11client/libvxi11client.h') diff --git a/libvxi11client/libvxi11client.h b/libvxi11client/libvxi11client.h index b65e711..6f92744 100644 --- a/libvxi11client/libvxi11client.h +++ b/libvxi11client/libvxi11client.h @@ -1,3 +1,4 @@ +#include #include "vxi11.h" #define ERR_SYNTAXERROR -1 @@ -15,16 +16,12 @@ #define ERR_ABORT -23 #define ERR_CHANNELALREADYESTABLISHED -29 -#define FLAG_TERMCHRSET (1 << 7) -#define FLAG_END (1 << 3) -#define FLAG_WAITLOCK 1 - int vxi11_open(char* address, char* device); int vxi11_abort(); int vxi11_trigger(); int vxi11_clear(); -int vxi11_write(); -int vxi11_read(); +int vxi11_write(char* data, unsigned int len, bool end); +int vxi11_read(char* buffer, unsigned int bufferlen, bool waitlock, bool termchrset, char termchr); int vxi11_lock(); int vxi11_unlock(); int vxi11_local(); -- cgit