Update doc/efun/ aus Driversourcen.
Manpages der efuns aktualisiert, neue Manpages hinzugefuegt.
Change-Id: I7cc91684269ff56d1aef47d5c5e7c87f7fd531dc
diff --git a/doc/efun/set_driver_hook b/doc/efun/set_driver_hook
index 5489120..0a6f67b 100644
--- a/doc/efun/set_driver_hook
+++ b/doc/efun/set_driver_hook
@@ -1,11 +1,13 @@
SYNOPSIS
+ #include <driver_hook.h>
+
void set_driver_hook(int what, closure arg)
void set_driver_hook(int what, string arg)
- void set_driver_hook(int what, string * arg)
+ void set_driver_hook(int what, string *arg)
DESCRIPTION
This privileged efun sets the driver hook 'what' (values are
- defined in /sys/driver_hook.h) to 'arg'.
+ defined in <driver_hook.h>) to 'arg'.
The exact meanings and types of 'arg' depend of the hook set.
To remove a hook, set 'arg' to 0.
@@ -30,6 +32,14 @@
closure), function name.
Optional hooks for creation/reset/clean up-actions.
+ H_CREATE_LWOBJECT
+ H_CREATE_LWOBJECT_COPY
+ H_CREATE_LWOBJECT_RESTORE
+ arg: lambda closure, function name.
+ Optional hooks for creation of lightweight objects
+ with new_lwobject(), copy()/deep_copy() resp.
+ restore_value()/restore_object().
+
H_DEFAULT_METHOD
arg: lambda closure, lfun closure, function name.
Optional hook for default method implementation.
@@ -73,6 +83,17 @@
Optional hook to specify a string to be included before the
source of every compiled LPC object.
+ H_AUTO_INCLUDE_EXPRESSION
+ H_AUTO_INCLUDE_BLOCK
+ arg: closure, string
+ Optional hook specifying a string to be prepended before
+ the string of a compile_string() call.
+
+ H_FILE_ENCODING
+ arg: lambda closure, lfun closure, string
+ Optonal hook specifying the name of the encoding to be used
+ for decoding a file (default: "ascii").
+
H_TELNET_NEG
arg: lambda closure, lfun closure, string.
Optional hook to specifiy how to perform a single telnet
@@ -88,11 +109,16 @@
Optional hook to notify the mudlib about the termination of
the erq demon.
+ H_MSG_DISCARDED
+ arg: lambda closure, lfun closure, string
+ Optional hook to specify a message or take other measures
+ when a message had to be discarded.
+
See hooks(C) for a detailed discussion.
HISTORY
Introduced in 3.2.1@1 as efun309(), renamed to
- set_driver_hook() in 3.2.1@13
+ set_driver_hook() in 3.2.1@13.
SEE ALSO
hooks(C)