From fcf7b3789cec5595880d27e0109387e2d8733b38 Mon Sep 17 00:00:00 2001 From: Luis Ontanon Date: Sat, 11 Feb 2006 13:05:24 +0000 Subject: add an userdata argument to register_stat_cmd_arg() and its callback to use the callback for multiple registrations. svn path=/trunk/; revision=17252 --- tap-h225counter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tap-h225counter.c') diff --git a/tap-h225counter.c b/tap-h225counter.c index 694cffae8a..c31e6fc349 100644 --- a/tap-h225counter.c +++ b/tap-h225counter.c @@ -388,7 +388,7 @@ h225counter_draw(void *phs) static void -h225counter_init(const char *optarg) +h225counter_init(const char *optarg, void* userdata _U_) { h225counter_t *hs; const char *filter=NULL; @@ -423,5 +423,5 @@ h225counter_init(const char *optarg) void register_tap_listener_h225counter(void) { - register_stat_cmd_arg("h225,counter", h225counter_init); + register_stat_cmd_arg("h225,counter", h225counter_init,NULL); } -- cgit v1.2.1