From 09f82d4e1e6dd1672b272c314c42d5cf30c91ea8 Mon Sep 17 00:00:00 2001 From: bustico Date: Mon, 19 May 2008 15:31:30 +0000 Subject: * make the lib and api more robust by adding const where they should be * compile with -Wall and eliminate remaining warnings --- tools/ivyperf.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools/ivyperf.c') diff --git a/tools/ivyperf.c b/tools/ivyperf.c index 07453e3..8babd35 100644 --- a/tools/ivyperf.c +++ b/tools/ivyperf.c @@ -76,7 +76,7 @@ void TimerCall(TimerId id, void *user_data, unsigned long delta) if ( count == 0 ) fprintf(stderr, "." ); } -void binCB( IvyClientPtr app, void *user_data, int id, char* regexp, IvyBindEvent event ) +void binCB( IvyClientPtr app, void *user_data, int id, const char* regexp, IvyBindEvent event ) { char *app_name = IvyGetApplicationName( app ); switch ( event ) @@ -87,6 +87,9 @@ void binCB( IvyClientPtr app, void *user_data, int id, char* regexp, IvyBindEve case IvyRemoveBind: printf("Application:%s bind '%s' REMOVED\n", app_name, regexp ); break; + case IvyChangeBind: + printf("Application:%s bind '%s' CHANGED\n", app_name, regexp ); + break; case IvyFilterBind: printf("Application:%s bind '%s' FILTRED\n", app_name, regexp ); break; -- cgit v1.1