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

*** empty log message ***

Rev: doc/HACKING:1.15
Rev: src/client_x11.c:1.4
Rev: src/lsh.c:1.144
parent 08616e82
......@@ -423,12 +423,16 @@ should ahve an exc_ prefix.
Below, TYPE stands for a type name,
and METHOD for the name one of its methods.
The constructor function for a TYPE should be make_TYPE(). Functions
implementing its methods should be do_TYPE_METHOD. Except for
closure-like objects, i.e. objects with essentially only one method,
where the method implementation is do_TYPE. The do_* functions are not
intended to be called directly; they are only installed in objects'
method pointers. Most of them, but not all, are declared static.
The constructor function for a TYPE should be make_TYPE().
Some objects also have a separate initialization function, for use by
subclasses. That should be named init_TYPE().
Functions implementing its methods should be do_TYPE_METHOD. Except
for closure-like objects, i.e. objects with essentially only one
method, where the method implementation is do_TYPE. The do_* functions
are not intended to be called directly; they are only installed in
objects' method pointers. Most of them, but not all, are declared
static.
Functions related to the collect_info-mechanism have a collect_
prefix. They take and return arguments of type struct lsh_object *,
......
This diff is collapsed.
......@@ -626,7 +626,7 @@ main_options[] =
"Request the ssh-userauth service (default if SRP is used).", 0 },
#endif
/* ACtions */
/* Actions */
{ "forward-remote-port", 'R', "remote-port:target-host:target-port",
0, "", CLIENT_ARGP_ACTION_GROUP },
{ "gateway", 'G', NULL, 0, "Setup a local gateway", 0 },
......
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