version 1.17, 2009/09/20 19:15:01 |
version 1.18, 2009/09/23 06:18:47 |
|
|
&cmd_set_buffer_entry, |
&cmd_set_buffer_entry, |
&cmd_set_environment_entry, |
&cmd_set_environment_entry, |
&cmd_set_option_entry, |
&cmd_set_option_entry, |
&cmd_set_password_entry, |
|
&cmd_set_window_option_entry, |
&cmd_set_window_option_entry, |
&cmd_show_buffer_entry, |
&cmd_show_buffer_entry, |
&cmd_show_environment_entry, |
&cmd_show_environment_entry, |
|
|
int |
int |
cmd_exec(struct cmd *cmd, struct cmd_ctx *ctx) |
cmd_exec(struct cmd *cmd, struct cmd_ctx *ctx) |
{ |
{ |
if (server_locked) { |
|
ctx->error(ctx, "server is locked"); |
|
return (-1); |
|
} |
|
return (cmd->entry->exec(cmd, ctx)); |
return (cmd->entry->exec(cmd, ctx)); |
} |
} |
|
|