Update Doku aus Driversourcen
Change-Id: I455f0813b970151089b3dc1b8d9407eea323cdd1
diff --git a/doc/concepts/hooks b/doc/concepts/hooks
index 108da08..aada84e 100644
--- a/doc/concepts/hooks
+++ b/doc/concepts/hooks
@@ -11,6 +11,7 @@
Some of the hooks are mandatory, some not. Most hooks accept
unbound lambda closures as values, some also lfun closures or
even strings.
+
The hooks are identified by an ordinal number, for which
symbolic names are defined in /sys/driverhooks.h.
@@ -30,7 +31,7 @@
H_CREATE_CLONE
Optional hooks to initialize an object after creation.
- H_CREATE_SUPER is called for blueprints implicitely loaded
+ H_CREATE_SUPER is called for blueprints implicitly loaded
by inheritance, H_CREATE_OB for explicitely loaded
blueprints/objects, and H_CREATE_CLONE for cloned objects.
@@ -104,9 +105,14 @@
the source of every compiled LPC object.
+ H_FILE_ENCODING
+ Optonal hook specifying the name of the encoding to be used
+ for decoding a file (default: "ascii").
+
+
H_TELNET_NEG
Optional hook to specifiy how to perform a single telnet
- negotiation. If not set, most telnet options are rejected (read:
+ negotiation. If not set, most telnet options are rejected (read:
only a very minimal negotiation takes place).
@@ -125,6 +131,10 @@
the erq demon.
+ H_MSG_DISCARDED
+ Optional hook to specify a message or take other measures
+ when a message had to be discarded.
+
HISTORY
The hooks concept was introduced in 3.2.1
H_MOVE_OBJECT0/1 were introduced in 3.2.1@1