version 1.12, 2012/07/10 11:53:01 |
version 1.13, 2012/07/11 07:10:15 |
|
|
* List all sessions. |
* List all sessions. |
*/ |
*/ |
|
|
int cmd_list_sessions_exec(struct cmd *, struct cmd_ctx *); |
enum cmd_retval cmd_list_sessions_exec(struct cmd *, struct cmd_ctx *); |
|
|
const struct cmd_entry cmd_list_sessions_entry = { |
const struct cmd_entry cmd_list_sessions_entry = { |
"list-sessions", "ls", |
"list-sessions", "ls", |
|
|
cmd_list_sessions_exec |
cmd_list_sessions_exec |
}; |
}; |
|
|
int |
enum cmd_retval |
cmd_list_sessions_exec(struct cmd *self, struct cmd_ctx *ctx) |
cmd_list_sessions_exec(struct cmd *self, struct cmd_ctx *ctx) |
{ |
{ |
struct args *args = self->args; |
struct args *args = self->args; |
|
|
n++; |
n++; |
} |
} |
|
|
return (0); |
return (CMD_RETURN_NORMAL); |
} |
} |