summaryrefslogtreecommitdiff
path: root/libvxi11client/libvxi11client.h
diff options
context:
space:
mode:
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();