summaryrefslogtreecommitdiff
path: root/libvxi11client/libvxi11client.h
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2013-01-17 06:39:36 +0900
committerdaniel <danieruru@gmail.com>2013-01-17 06:39:36 +0900
commita8f9dbca19702adcc1420aad70855d057fd51122 (patch)
treefc14304f9f6ce93649e425dfc2af5a1d451f251a /libvxi11client/libvxi11client.h
parent68247df5e2a1c6ee1b02834eac49e0b75875d03a (diff)
Everything for multiple instruments on the C side
Diffstat (limited to 'libvxi11client/libvxi11client.h')
-rw-r--r--libvxi11client/libvxi11client.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libvxi11client/libvxi11client.h b/libvxi11client/libvxi11client.h
index 0546ac4..27da46c 100644
--- a/libvxi11client/libvxi11client.h
+++ b/libvxi11client/libvxi11client.h
@@ -20,6 +20,7 @@ typedef struct {
CLIENT* clnt;
CLIENT* abortclnt;
Device_Link devicelink;
+ bool interruptchannelopen;
bool interruptsenabled;
} Context;
@@ -36,6 +37,8 @@ int vxi11_remote(Context* context, bool waitforlock);
int vxi11_readstatusbyte(Context* context, bool waitforlock);
int vxi11_create_intr_chan(Context* context);
int vxi11_destroy_intr_chan(Context* context);
-int vxi11_enable_srq(Context* context, bool enable, char* handle, void (*callback)(void));
+int vxi11_enable_srq(Context* context, bool enable, char* handle);
+int vxi11_start_interrupt_server(void (*callback)(char* handle));
+int vxi11_stop_interrupt_server();
int vxi11_docmd(Context* context, unsigned long cmd, bool waitforlock);
int vxi11_close(Context* context);