summaryrefslogtreecommitdiff
path: root/libvxi11client/libvxi11client.h
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2013-01-09 14:45:33 +0900
committerdaniel <danieruru@gmail.com>2013-01-09 14:45:33 +0900
commit57bec4c29edc96491328c8f60fe76055ab2f4008 (patch)
tree4b4f5adf6015e3bde96975601992df44a7a574eb /libvxi11client/libvxi11client.h
parent2c93550a5394c632ae6b820e38ca75ab5df5aae7 (diff)
add a waitlock parameter to all of the calls that care about it
Diffstat (limited to 'libvxi11client/libvxi11client.h')
-rw-r--r--libvxi11client/libvxi11client.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/libvxi11client/libvxi11client.h b/libvxi11client/libvxi11client.h
index 6f92744..b76fe55 100644
--- a/libvxi11client/libvxi11client.h
+++ b/libvxi11client/libvxi11client.h
@@ -17,17 +17,17 @@
#define ERR_CHANNELALREADYESTABLISHED -29
int vxi11_open(char* address, char* device);
-int vxi11_abort();
-int vxi11_trigger();
-int vxi11_clear();
+int vxi11_abort(void);
+int vxi11_trigger(bool waitforlock);
+int vxi11_clear(bool waitforlock);
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();
-int vxi11_readstatusbyte();
-int vxi11_remote();
-int vxi11_create_intr_chan();
-int vxi11_destroy_intr_chan();
-int vxi11_docmd(unsigned long cmd);
-int vxi11_close();
+int vxi11_lock(bool waitforlock);
+int vxi11_unlock(void);
+int vxi11_local(bool waitforlock);
+int vxi11_remote(bool waitforlock);
+int vxi11_readstatusbyte(bool waitforlock);
+int vxi11_create_intr_chan(void);
+int vxi11_destroy_intr_chan(void);
+int vxi11_docmd(unsigned long cmd, bool waitforlock);
+int vxi11_close(void);