From 6143ab5fb9ee7f32f6f779c06c176957fac8c3f2 Mon Sep 17 00:00:00 2001 From: jacomi Date: Wed, 25 Mar 1998 16:51:06 +0000 Subject: Upgrade FRC --- testbus.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/testbus.c b/testbus.c index a2b3323..39d55b5 100644 --- a/testbus.c +++ b/testbus.c @@ -116,12 +116,18 @@ void ApplicationCallback( BusClientPtr app, void *user_data, BusApplicationEvent { char *appname; char *host; + char **msgList; appname = GetApplicationName( app ); host = GetApplicationHost( app ); switch ( event ) { case BusApplicationConnected: app_count++; printf("Application(%d): %s ready on %s\n",app_count, appname, host); + printf("Application(%s): Begin Messages\n", appname); + msgList = GetApplicationMessages( app ); + while( *msgList ) + printf("Application(%s): Receive '%s'\n",appname,*msgList++); + printf("Application(%s): End Messages\n",appname); if ( app_count == wait_count ) ChannelSetUp( 0, NULL, NULL, HandleStdin); break; -- cgit v1.1