diff options
author | daniel <danieruru@gmail.com> | 2013-01-09 14:02:09 +0900 |
---|---|---|
committer | daniel <danieruru@gmail.com> | 2013-01-09 14:02:09 +0900 |
commit | ee9413282d02d936185dc88a34bb817a1a273e6d (patch) | |
tree | 159f3b558a9da24c4b0166889d11f2833dc72e99 /libvxi11client/libvxi11client.h | |
parent | c4ef0522de10e86ff7af432066123e59665913c4 (diff) |
A few more clean ups
Diffstat (limited to 'libvxi11client/libvxi11client.h')
-rw-r--r-- | libvxi11client/libvxi11client.h | 9 |
1 files changed, 3 insertions, 6 deletions
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 <stdbool.h> #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(); |