Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
bf1959d1
Commit
bf1959d1
authored
Nov 14, 2000
by
Niels Möller
Browse files
* src/lsh_proxy.c: Use the DEFINE_COMMAND_SIMPLE macro.
Rev: src/lsh_proxy.c:1.16
parent
8c72e26e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lsh_proxy.c
View file @
bf1959d1
...
...
@@ -184,14 +184,14 @@ make_lsh_proxy_options(struct io_backend *backend,
}
/* Port to listen on */
COMMAND_SIMPLE
(
options2local
)
DEFINE_
COMMAND_SIMPLE
(
options2local
,
a
)
{
CAST
(
lsh_proxy_options
,
options
,
a
);
return
&
options
->
local
->
super
;
}
/* alist of signature algorithms */
COMMAND_SIMPLE
(
options2signature_algorithms
)
DEFINE_
COMMAND_SIMPLE
(
options2signature_algorithms
,
a
)
{
CAST
(
lsh_proxy_options
,
options
,
a
);
return
&
options
->
signature_algorithms
->
super
;
...
...
@@ -483,7 +483,7 @@ make_proxy_destination_command(struct lsh_proxy_options *options)
return
&
self
->
super
;
}
COMMAND_SIMPLE
(
proxy_destination
)
DEFINE_
COMMAND_SIMPLE
(
proxy_destination
,
a
)
{
CAST
(
lsh_proxy_options
,
options
,
a
);
return
&
make_proxy_destination_command
(
options
)
->
super
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment