summaryrefslogtreecommitdiff
path: root/libvxi11client/libvxi11client.h
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2013-01-09 14:02:09 +0900
committerdaniel <danieruru@gmail.com>2013-01-09 14:02:09 +0900
commitee9413282d02d936185dc88a34bb817a1a273e6d (patch)
tree159f3b558a9da24c4b0166889d11f2833dc72e99 /libvxi11client/libvxi11client.h
parentc4ef0522de10e86ff7af432066123e59665913c4 (diff)
A few more clean ups
Diffstat (limited to 'libvxi11client/libvxi11client.h')
-rw-r--r--libvxi11client/libvxi11client.h9
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();