| 9892 | } |
| 9893 | |
| 9894 | static void server_death(rem_port* port) |
| 9895 | { |
| 9896 | /************************************** |
| 9897 | * |
| 9898 | * s e r v e r _ d e a t h |
| 9899 | * |
| 9900 | ************************************** |
| 9901 | * |
| 9902 | * Functional description |
| 9903 | * Received "EOF" from remote server |
| 9904 | * Cleanup events. |
| 9905 | * |
| 9906 | **************************************/ |
| 9907 | Rdb* rdb = port->port_context; |
| 9908 | |
| 9909 | if (rdb && !(port->port_flags & PORT_disconnect)) |
| 9910 | { |
| 9911 | for (Rvnt* event = rdb->rdb_events; event; event = event->rvnt_next) |
| 9912 | { |
| 9913 | if (event->rvnt_id) |
| 9914 | { |
| 9915 | event->rvnt_id = 0; |
| 9916 | event->rvnt_callback->eventCallbackFunction(0, NULL); |
| 9917 | } |
| 9918 | } |
| 9919 | } |
| 9920 | } |
| 9921 | |
| 9922 | |
| 9923 | static void svcstart(CheckStatusWrapper* status, |
no test coverage detected