X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=examples%2Fxapp_t1.cpp;h=5ec8536aa055f7bdabd7d0ef82fa511322d6051d;hb=6ef23e1d7f7f47ccab5be6ff1b68e5cfdda80ad2;hp=51b3ba64e776d5ad907fbd0afb56fde4ed0a042d;hpb=8ec1e3c2dec6ba4fa83fe63e4207d47b4b0f3b3f;p=ric-plt%2Fxapp-frame-cpp.git diff --git a/examples/xapp_t1.cpp b/examples/xapp_t1.cpp index 51b3ba6..5ec8536 100644 --- a/examples/xapp_t1.cpp +++ b/examples/xapp_t1.cpp @@ -56,8 +56,8 @@ long cb1_lastts = 0; long cb1_lastc = 0; // respond with 2 messages for each type 1 received -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 ) { long now; long total_count; @@ -69,14 +69,14 @@ void cb1( Message& mbuf, int mtype, int subid, int len, } // just count messages -void cb2( Message& mbuf, int mtype, int subid, int len, - Msg_component payload, void* data ) { +void cb2( xapp::Message& mbuf, int mtype, int subid, int len, + xapp::Msg_component payload, void* data ) { cb2_count++; } // default to count all unrecognised messages -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 ) { cbd_count++; }