Commit cf506a57 authored by Niels Möller's avatar Niels Möller
Browse files

Added paragraph on connection objects.

Rev: doc/HACKING:1.3
parent 662d2248
......@@ -89,6 +89,16 @@ implementation of this type looks as follows:
Note the last line; the function passes a newly created packet on to
the next handler in the pipe.
There's no central place where all important state is stored; I have
tried to delegate details to the releant places. However, some things
that didn't fit anywhere else, and information that is needed by many
modules, is kept in the ssh_connection structure (in connection.[hc]).
Connection objects are also the point where packet are dispatched to
various handlers (key exchange, channels, debug, etc). Handlers are similar
to the abstract write handlers described above, but they get one extra
argument: a pointer to the connection object.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment