From 2287a7ca37de5dadf9eda790e3afa96262cb9e76 Mon Sep 17 00:00:00 2001 From: daniel Date: Fri, 11 Jan 2013 13:58:36 +0900 Subject: add callback for interrupt --- libvxi11client/libvxi11client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvxi11client/libvxi11client.h') diff --git a/libvxi11client/libvxi11client.h b/libvxi11client/libvxi11client.h index bf247a5..5d25fae 100644 --- a/libvxi11client/libvxi11client.h +++ b/libvxi11client/libvxi11client.h @@ -28,6 +28,6 @@ int vxi11_remote(bool waitforlock); int vxi11_readstatusbyte(bool waitforlock); int vxi11_create_intr_chan(void); int vxi11_destroy_intr_chan(void); -int vxi11_enable_srq(bool enable, char* handle); +int vxi11_enable_srq(bool enable, char* handle, void (*callback)(void)); int vxi11_docmd(unsigned long cmd, bool waitforlock); int vxi11_close(void); -- cgit