X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=examples%2Frmr_dump.cpp;h=860caf57ef6647428eb4dd8a2f363d65637591de;hb=6ef23e1d7f7f47ccab5be6ff1b68e5cfdda80ad2;hp=52fe23de8f5c58c3e51891a3b735225572a2c7a3;hpb=8ec1e3c2dec6ba4fa83fe63e4207d47b4b0f3b3f;p=ric-plt%2Fxapp-frame-cpp.git diff --git a/examples/rmr_dump.cpp b/examples/rmr_dump.cpp index 52fe23d..860caf5 100644 --- a/examples/rmr_dump.cpp +++ b/examples/rmr_dump.cpp @@ -117,8 +117,8 @@ void stats( cb_info_t& cbi ) { } } -void cb1( Message& mbuf, int mtype, int subid, int len, - Msg_component payload, void* data ) { +void cb1( xapp::Message& mbuf, int mtype, int subid, int len, + xapp::Msg_component payload, void* data ) { cb_info_t* cbi; long total_count; @@ -140,7 +140,7 @@ void cb1( Message& mbuf, int mtype, int subid, int len, if( cbi->forward ) { // forward with no change to len or payload - mbuf.Send_msg( Message::NO_CHANGE, NULL ); + mbuf.Send_msg( xapp::Message::NO_CHANGE, NULL ); } } @@ -148,8 +148,8 @@ void cb1( Message& mbuf, int mtype, int subid, int len, registered as the default callback; it counts the messages that we aren't giving details about. */ -void cbd( Message& mbuf, int mtype, int subid, int len, - Msg_component payload, void* data ) { +void cbd( xapp::Message& mbuf, int mtype, int subid, int len, + xapp::Msg_component payload, void* data ) { cb_info_t* cbi; if( (cbi = (cb_info_t *) data) == NULL ) { @@ -161,7 +161,7 @@ void cbd( Message& mbuf, int mtype, int subid, int len, if( cbi->forward ) { // forward with no change to len or payload - mbuf.Send_msg( Message::NO_CHANGE, NULL ); + mbuf.Send_msg( xapp::Message::NO_CHANGE, NULL ); } } @@ -192,7 +192,7 @@ int main( int argc, char** argv ) { cbi->forward = true; break; - case 'p': // define port + case 'p': // define port port = argv[ai+1]; ai++; break;