| MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | SYNOPSIS |
| 2 | #include <sys/driver_hooks.h> | ||||
| 3 | |||||
| 4 | set_driver_hook(H_ERQ_STOP, value) | ||||
| 5 | |||||
| 6 | <value> being: | ||||
| 7 | |||||
| 8 | void <closure>() | ||||
| 9 | |||||
| 10 | DESCRIPTION | ||||
| 11 | Optional hook to notify the mudlib about the termination of | ||||
| 12 | the erq demon. Hook setting may be any closure. | ||||
| 13 | |||||
| 14 | The closure is called without arguments and may do whatever it | ||||
| 15 | likes to clean-up after the erq. | ||||
| 16 | |||||
| 17 | HISTORY | ||||
| 18 | |||||
| 19 | SEE ALSO | ||||
| 20 | hooks(C) | ||||