diff options
Diffstat (limited to 'libvxi11client/libvxi11client.h')
-rw-r--r-- | libvxi11client/libvxi11client.h | 5 |
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); |