diff options
author | daniel <danieruru@gmail.com> | 2013-01-26 13:10:08 +0900 |
---|---|---|
committer | daniel <danieruru@gmail.com> | 2013-01-26 13:10:08 +0900 |
commit | 35b28230e17a68db48f3b5fc91d2eec0c80e048c (patch) | |
tree | 3682265dbce6a376a9f65835d718515f448a4972 /vxi11_server.h | |
parent | 67801485ab5a9e4509d2bb2cdd9454ee4ed1ab11 (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.h | 1 |
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); |