diff options
author | daniel <danieruru@gmail.com> | 2013-01-24 00:15:16 +0900 |
---|---|---|
committer | daniel <danieruru@gmail.com> | 2013-01-24 00:15:16 +0900 |
commit | d31d69b338c7fef5583ec705c1e748c2a2aeaba6 (patch) | |
tree | eeaf75d97ac96b8b3d49027cd930068864500d86 /libvxi11client/perlbits/Client.pm | |
parent | 609cb1e17a9ab8edf1ccab42574b44bc1439aeb7 (diff) |
named
Diffstat (limited to 'libvxi11client/perlbits/Client.pm')
-rw-r--r-- | libvxi11client/perlbits/Client.pm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libvxi11client/perlbits/Client.pm b/libvxi11client/perlbits/Client.pm index 9b8fdb2..204027c 100644 --- a/libvxi11client/perlbits/Client.pm +++ b/libvxi11client/perlbits/Client.pm @@ -35,6 +35,26 @@ XSLoader::load('VXI11::Client', $VERSION); # Preloaded methods go here. +sub vxi_enable_srq { + return vxi_enable_srq_long($_[0], 1, $_[1]); +} + +sub vxi_disable_srq { + return vxi_enable_srq_long($_[0], 0 , ""); +} + +sub vxi_write { + my $self = shift; + my %args = ( + len => -1, + waitlock => 0, + end => 1, + @_ + ); + return vxi_write_long($self, $args{data}, $args{len}, $args{waitlock}, $args{end}); +} + + 1; __END__ # Below is stub documentation for your module. You'd better edit it! |