From 95a19e0c5c622e8e886ff822ea48d28f7bceced4 Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Thu, 30 Dec 2010 15:38:10 +0300 Subject: cli: removed old "show sessions" code shaper_tbf: add column "rate-limit" for "show sessions" --- accel-pptpd/cli/cli.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'accel-pptpd/cli/cli.h') diff --git a/accel-pptpd/cli/cli.h b/accel-pptpd/cli/cli.h index ae452bc..cdceb2f 100644 --- a/accel-pptpd/cli/cli.h +++ b/accel-pptpd/cli/cli.h @@ -29,6 +29,8 @@ struct cli_regexp_cmd_t int (*help)(char * const *fields, int field_cnt, void *client); }; +struct ppp_t; + void cli_register_simple_cmd(struct cli_simple_cmd_t *cmd); void cli_register_simple_cmd2( int (*exec)(const char *cmd, char * const *fields, int fields_cnt, void *client), @@ -37,6 +39,7 @@ void cli_register_simple_cmd2( ... ); void cli_register_regexp_cmd(struct cli_regexp_cmd_t *cmd); +void cli_show_ses_register(const char *name, const char *desc, void (*print)(const struct ppp_t *ppp, char *buf)); int cli_send(void *client, const char *data); int cli_sendv(void *client, const char *fmt, ...); -- cgit v1.2.3