From a8f9dbca19702adcc1420aad70855d057fd51122 Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 17 Jan 2013 06:39:36 +0900 Subject: Everything for multiple instruments on the C side --- libvxi11client/libvxi11client.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libvxi11client/libvxi11client.h') 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); -- cgit