From: Florian Forster Date: Tue, 6 Jul 2010 15:55:03 +0000 (+0200) Subject: "show graph" action: If the "q" parameter is given, only show matching instances. X-Git-Tag: v4.0.0~140 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=bf5ca77e08ca75fba83c7c5a9a7bb288692ae6d6;p=collection4.git "show graph" action: If the "q" parameter is given, only show matching instances. --- diff --git a/src/action_show_graph.c b/src/action_show_graph.c index 9b9f5da..47d22c9 100644 --- a/src/action_show_graph.c +++ b/src/action_show_graph.c @@ -51,6 +51,7 @@ struct show_graph_data_s { graph_config_t *cfg; + const char *search_term; }; typedef struct show_graph_data_s show_graph_data_t; @@ -83,10 +84,26 @@ static int show_time_selector (__attribute__((unused)) void *user_data) /* {{{ * return (0); } /* }}} int show_time_selector */ -static int left_menu (__attribute__((unused)) void *user_data) /* {{{ */ +static int left_menu (void *user_data) /* {{{ */ { - printf ("\n