summaryrefslogtreecommitdiff
path: root/libvxi11client/perlglue.h
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2013-01-11 18:24:43 +0900
committerdaniel <danieruru@gmail.com>2013-01-11 18:24:43 +0900
commit7d4fa5278ace3dd96dda1bf4da75d617fd3e2795 (patch)
treeda903274305c49df85c7ac8f8d6cbf3385a6dfb9 /libvxi11client/perlglue.h
parent2287a7ca37de5dadf9eda790e3afa96262cb9e76 (diff)
add more tests and a top level for perl wrapping
Diffstat (limited to 'libvxi11client/perlglue.h')
-rw-r--r--libvxi11client/perlglue.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/libvxi11client/perlglue.h b/libvxi11client/perlglue.h
new file mode 100644
index 0000000..8dd17df
--- /dev/null
+++ b/libvxi11client/perlglue.h
@@ -0,0 +1,17 @@
+#include <stdbool.h>
+int vopen(char* address, char* device);
+int vabort(void);
+int vtrigger(bool waitforlock);
+int vclear(bool waitforlock);
+int vwrite(char* data, unsigned int len, bool waitlock, bool end);
+int vread(char* buffer, unsigned int bufferlen, bool waitlock, bool termchrset, char termchr);
+int vlock(bool waitforlock);
+int vunlock(void);
+int vlocal(bool waitforlock);
+int vremote(bool waitforlock);
+int vreadstatusbyte(bool waitforlock);
+int vcreate_intr_chan(void);
+int vdestroy_intr_chan(void);
+int venable_srq(bool enable, char* handle);
+int vdocmd(unsigned long cmd, bool waitforlock);
+int vclose(void);