summaryrefslogtreecommitdiff
path: root/vxi11_server.h
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2013-01-26 13:10:08 +0900
committerdaniel <danieruru@gmail.com>2013-01-26 13:10:08 +0900
commit35b28230e17a68db48f3b5fc91d2eec0c80e048c (patch)
tree3682265dbce6a376a9f65835d718515f448a4972 /vxi11_server.h
parent67801485ab5a9e4509d2bb2cdd9454ee4ed1ab11 (diff)
Add a "hack" to report back to the vxi11 service code when a link dies.
It's a hack because linux/glibc's RPC implementation doesn't seem to have the ability to set a recv error callback. The hack is to add an extra event to the events poll'd.. that event tells us if the socket died.
Diffstat (limited to 'vxi11_server.h')
-rw-r--r--vxi11_server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vxi11_server.h b/vxi11_server.h
index f682f58..5c4450d 100644
--- a/vxi11_server.h
+++ b/vxi11_server.h
@@ -1 +1,2 @@
void vxi11_fireinterrupt(void);
+void vxi11_deadsocketcallback(int socket);