summaryrefslogtreecommitdiff
path: root/libvxi11client/client.c
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2013-01-05 16:30:05 +0900
committerdaniel <danieruru@gmail.com>2013-01-05 16:30:05 +0900
commitc70c87d3865c9e591b08c2d49cccbc776a136fab (patch)
treebe4b67b462d4238a94d09399855011390d2fc273 /libvxi11client/client.c
parent42d30a78def5b5a0f48ce47f0e8cd77eaf8a2452 (diff)
add a work in progress "vxi-11 client library" and test client.. this will become the perl module later
Diffstat (limited to 'libvxi11client/client.c')
-rw-r--r--libvxi11client/client.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/libvxi11client/client.c b/libvxi11client/client.c
new file mode 100644
index 0000000..e25c037
--- /dev/null
+++ b/libvxi11client/client.c
@@ -0,0 +1,18 @@
+#include "vxi11.h"
+#include <stdio.h>
+
+int main() {
+ printf("VXI-11 test client\n");
+ CLIENT* clnt;
+ vxi11_open("192.168.2.250");
+ vxi11_write();
+ vxi11_read();
+ vxi11_trigger();
+ vxi11_clear();
+ vxi11_abort();
+ vxi11_lock();
+ vxi11_unlock();
+ vxi11_remote();
+ vxi11_local();
+ vxi11_close();
+}