summaryrefslogtreecommitdiff
path: root/libvxi11client/perlbits/Client.xs
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2013-01-23 13:17:52 +0900
committerdaniel <danieruru@gmail.com>2013-01-23 13:17:52 +0900
commitc53ea096ab5a656f93ad2aed8d50f5dd346f91c3 (patch)
tree5dbd48863285fe0a6f6f19fbd4b916d6ce7b4cde /libvxi11client/perlbits/Client.xs
parent63f018d9d0a4b1ae11f9adb6f5bd3c9315b00130 (diff)
Update docs, add the "global" functions to the export list, add the reason from read to the stuff that gets returned.
Diffstat (limited to 'libvxi11client/perlbits/Client.xs')
-rw-r--r--libvxi11client/perlbits/Client.xs5
1 files changed, 3 insertions, 2 deletions
diff --git a/libvxi11client/perlbits/Client.xs b/libvxi11client/perlbits/Client.xs
index d8008dd..d471fda 100644
--- a/libvxi11client/perlbits/Client.xs
+++ b/libvxi11client/perlbits/Client.xs
@@ -123,7 +123,7 @@ vxi_open(address, device)
RETVAL
void
-vxi_read(context, OUTLIST bytesread, OUTLIST buffer, bufferlen, waitlock, termchrset, termchr)
+vxi_read(context, OUTLIST bytesread, OUTLIST buffer, bufferlen, waitlock, termchrset, termchr, OUTLIST reason)
VXI11::Client context
char * buffer
int bytesread
@@ -131,9 +131,10 @@ vxi_read(context, OUTLIST bytesread, OUTLIST buffer, bufferlen, waitlock, termch
bool waitlock
bool termchrset
char termchr
+ unsigned int* reason
CODE:
buffer = malloc(bufferlen + 1);
- bytesread = vxi11_read(context, buffer, bufferlen, waitlock, termchrset, termchr);
+ bytesread = vxi11_read(context, buffer, bufferlen, waitlock, termchrset, termchr, reason);
int
vxi_readstatusbyte(context, waitforlock)